It makes a link out of http://something.com but problem is that it also replaces <img src="http://something.com/image>if ($INCOMING_TEXT ne "") { $INCOMING_TEXT =~ s/([^=]|^|[^"])(http\:\/\/([\w.\/]+))/$1<a href=$2>$ +3</a>/gi; }
In reply to Help with regs by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |