in reply to Re^3: Parsing HTML tags with regex
in thread Parsing HTML tags with regex
Hi gopal,
There is a problem if the input string is my $line = "<select name=\"url><23\" style=\"width><A125px\" >";
.But i think a slight modification to your previous answer will do the job then #$line =~ m#<([^">]+(?:"[^"]+")*)*[^>]+>#; IS there any problem.Also provide me an asnwer for the question about <!--->--->thing
There is a problem if the input string is my $line = "<select name=\"url><23\" style=\"width><A125px\" >";
.But i think a slight modification to your previous answer will do the job then #$line =~ m#<([^">]+(?:"[^"]+")*)*[^>]+>#; IS there any problem.Also provide me an asnwer for the question about <!--->--->thing
|
---|
In Section
Seekers of Perl Wisdom