Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Regex Question

by Matt™ (Acolyte)
on Jan 22, 2013 at 11:48 UTC ( #1014639=note: print w/ replies, xml ) Need Help??


in reply to Regex Question

if (($data =~ /Subject:(.*)\*\*(.*)\*/i)) { $out = trim($2); } print $out; exit;
hope this helps...

Note: Sorry, Remove '&trim' or use an appropriate trim subroutine

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2016-06-29 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (384 votes). Check out past polls.