Showing posts with label Please give a regular expression (preferably Perl/PREG style). Show all posts
Showing posts with label Please give a regular expression (preferably Perl/PREG style). Show all posts

Saturday, May 16, 2009

Please give a regular expression (preferably Perl/PREG style), which can be used to identify the URL from within a HTML link tag.

Try this: /href="([^"]*)"/i