Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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


Comment on Re: Regex Question
Download Code

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 cooling their heels in the Monastery: (7)
As of 2015-08-02 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (16 votes), past polls