Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Parsing HTML tags with regex

by jithoosin (Scribe)
on Nov 11, 2005 at 12:21 UTC ( #507700=note: print w/ replies, xml ) Need Help??


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


Comment on Re^4: Parsing HTML tags with regex
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://507700]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-10-24 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (133 votes), past polls