Hey Everyone,
I'm trying to get a grasp on regular expressions, but for some reason they've always been really confusing. I need a regular expression that will strip out urls and replace them with nothing. Something that will strip out the following examples:
http://www.yahoo.com
www.yahoo.com
yahoo.com
123.com
www.123.com
or any other combinations I may have missed. Here's the regular expression I have thus far that does not work propertly. Any help would be greatly appreciated.
[\/:\w.]*(.com|.org|.net|.edu|.info|.us|.gov)
Thanks!
Lisa