Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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?
[jedikaiti]: Hanging in there, Discipulus - you?
[Discipulus]: ah fine! released my first Dancer website, and today it's a special day
[Discipulus]: my son finished 18 today

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-01-18 19:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (214 votes). Check out past polls.

    Notices?