I'm trying to return an <a href... tag using the following line...
$code=eregi_replace("((http|mailto|ftp):\/\/[[:space:]<>]{1,})", "<a href='\1'>\1</a>",$code);
However, i'm trying to make this line work by getting regexps to check if the string DOESN'T begin with "[url" or "[url="
If someone could help me out, that'd be great 🙂