Either I missed the answer on the mailing list, or it was accidentally 
skipped, so I'll re-ask...

I have a bit of text ( a TEXT field in mySQL ) and there may or may not be 
URLs in this text.  (These URLs are defined as anything starting with 
http://, mailto:, or www.).  Some of these URLs may or may not be already 
contained with an HTML A HREF tag.  I need a regular expression that'll 
find these URLs and convert them to valid A HREF tags while leaving those 
URLs that are already in appropriate tags alone.

Can anybody offer any assitance on this?  I'm afraid I'm a bit weak in the 
regex areas....


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to