Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^5: Parsing HTML/XML with Regular Expressions (regex)

by RonW (Parson)
on Oct 19, 2017 at 23:50 UTC ( [id://1201716]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    </div
    >
    
  2. or download this
    <div title=" class='data' id='Foo'>Bar"
    id="Seven" class="data">&#xA0;Sunda&#121;</div>
    
  3. or download this
    <div title=" class='data' id='Foo'>Bar"\nid="Seven" class="data">
    &#xA0;Sunda&#121;
    </div>
    
  4. or download this
    my @elements = $xml =~ /$XML_SPE/g;
    
  5. or download this
    my @elements = $xml =~ /$::XML_SPE/g;
    
  6. or download this
    #!perl
    # use strict;
    ...
    ]]></p>
    </body>
    </html>
    
  7. or download this
       <?xml version="1.0" encoding="UTF-8"?>
    
    ...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found