Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

regex to extract text

by jonnyfolk (Vicar)
on Jan 18, 2009 at 17:20 UTC ( [id://737169]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                         <div class="detailline_address">
                                 
    ...
                                 
                                 Whiten, CO 86663
                         </div>
    
  2. or download this
    if ($r =~ m#<div class="detailline_address">\s*?(.*?)\s*?</div>#) { p(
    +"Address: $1"); }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://737169]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found