Chas. Owens wrote:
This is a job for an HTML parser, not a single regex.
Thank you for telling me about HTML::Parser, which I will use in future.
Gunnar Hjalmarsson wrote:
print "$1\n" while $content =~ m|(http://.*?";>)|gis;
Thank you for your script (which works!) and most of all for th
R (Chandra) Chandrasekhar wrote:
Dear Folks,
I am trying to construct a regular expression to extract strings having
the structure
http://...";>
from HTML files, as part of learning regexes. I have used the script
below to do this:
--
#!/usr/bin/perl
use warnings;
use diagnostics;
On Feb 3, 2008 8:50 AM, R (Chandra) Chandrasekhar <[EMAIL PROTECTED]> wrote:
> Dear Folks,
>
> I am trying to construct a regular expression to extract strings having the
> structure
>
> http://...";>
>
> from HTML files, as part of learning regexes. I have used the script below to
> do
> this:
sn