I'm starting to learn regular expressions but at the moment I'm stuck..
Why can't this scipt use the back reference?
$str="some text bla bla [link]arrrgg[\link]";
eregi("\[(link)\][a-z]*\[\\\\1\]", $str, $obj)
Can some smart ass out there give me a tip!
:rolleyes: