[PHP] RegEx and URLs

2001-01-31 Thread Joe Sheble (Wizaerd)
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

[PHP] RegEx and URLs

2001-01-30 Thread Joe Sheble (Wizaerd)
I have some text that may or may not contain valid URLs (anything starting with an http:// or a mailto:). Some of these URLs may or may not be contained within a valid A HREF tag. Could somebody help me out with a regex that would find all the URLs that are not already contained in an A HREF tag

[PHP] RegEx and URLs

2001-01-30 Thread Joe Sheble (Wizaerd)
I have some text that may or may not contain valid URLs (anything starting with an http:// or a mailto:). Some of these URLs may or may not be contained within a valid A HREF tag. Could somebody help me out with a regex that would find all the URLs that are not already contained in an A HREF tag