Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Matching set of paragraph tags with string inside.

by jepri (Parson)
on Feb 09, 2008 at 00:11 UTC ( [id://667114]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Matching set of paragraph tags with string inside.
in thread Matching set of paragraph tags with string inside.

You seem to be a bit focussed on using big regexes :P

map { s/<P>// } grep { /\[tab\]/ } split /<\/p>/, $string;

___________________
Jeremy
I didn't believe in evil until I dated it.

Replies are listed 'Best First'.
Re^4: Matching set of paragraph tags with string inside.
by Roy Johnson (Monsignor) on Feb 11, 2008 at 18:44 UTC
    I think you should try this out. It doesn't do what you think it does.

    Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-24 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found