Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: searching for one or more instances of text between tags

by Skeeve (Parson)
on Oct 13, 2015 at 08:14 UTC ( [id://1144645]=note: print w/replies, xml ) Need Help??


in reply to searching for one or more instances of text between tags

For sure it should be possible. Not using one regexp though.

But I think, you'd need to specify better what you regard "the same code block".

But most importantly: Try consider using one of the modules created for parsing HTML/XML for tasks like this. I have learned that, in the long run, it is worth the additional effort of installing and learning it.


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

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

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

    No recent polls found