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

Re: regex help

by injunjoel (Priest)
on Jun 27, 2005 at 02:43 UTC ( #470141=note: print w/replies, xml ) Need Help??


in reply to regex help

Greetings,
Looks like someone beat me to it but here it goes anyway.
($result = $htmlline) =~ s/<tag marker>(.+?)<\/td>/my $t=$1; $t=~s!<br +>!!g; $t;/eg

The /e switch is a beautiful thing.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2019-07-18 19:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?