Hi, I try to refer to the '<' character in a regex using preg_replace function:
preg_replace("/(http:\/\/.\S+(?<![\<\>]))/", "<a href=\"$1\"
target='ext'>$1</a>", "http://test<br>");
Ref to '>' with '\>' seems to work but not '<' with '\<'...
Any idea???
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

