in reply to Parsing HTML tags with regex
Hi jithoosin,
Here is the regex to match the tag with attributes value.
m#<([^">]+(?:"[^"]+")*[^>]+)>#
Thanks,
Gopal.R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Parsing HTML tags with regex
by Perl Mouse (Chaplain) on Nov 14, 2005 at 11:22 UTC | |
Re^2: Parsing HTML tags with regex
by Anonymous Monk on Jan 19, 2012 at 09:11 UTC | |
Re^2: Parsing HTML tags with regex
by jithoosin (Scribe) on Nov 11, 2005 at 09:23 UTC | |
by gopalr (Priest) on Nov 11, 2005 at 10:09 UTC | |
by jithoosin (Scribe) on Nov 11, 2005 at 12:21 UTC |
In Section
Seekers of Perl Wisdom