Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Parsing HTML tags with regex

by fizbin (Chaplain)
on Nov 11, 2005 at 12:40 UTC ( #507702=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Parsing HTML tags with regex
in thread Parsing HTML tags with regex

That's not legal html either.

Oh, sure, people put crap like that on their html pages, but it's not legal html - throw it at any html validator.

The legal version of that is:

<select name="url" style="width:125px" size="1" onchange="if (this.sel +ectedIndex&gt;0) parent.location.href=this.options[this.selectedIndex +].value;">
--
@/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/; map{y/X_/\n /;print}map{pop@$_}@/for@/


Comment on Re^3: 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://507702]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2014-12-26 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (171 votes), past polls