Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: parsing html

by McA (Priest)
on Mar 21, 2013 at 20:15 UTC ( [id://1024818]=note: print w/replies, xml ) Need Help??


in reply to parsing html

regex modifier 's' should do the trick:

$line =~ /<td(.*?)>(.*?)<\/td>/s

McA

Replies are listed 'Best First'.
Re^2: parsing html
by qingxia (Novice) on Mar 21, 2013 at 23:03 UTC
    thx to McA. It works well.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 07:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found