Nov 10, 2010, 1:07 PM
Post #1 of 2
Regular expression to match URLs?
I'm using Perl 5.8.6 on Mac 10.6.3. Does anyone have a regular expression that can match URLs ? My ultimate goal is to take a text file, and replace the URLs with the anchor tag (in which the matched URL would be present in the "href" attribute).
Thanks, - Dave