Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Extracting Strings - Special Cases

by ansh batra (Friar)
on Jan 07, 2013 at 13:18 UTC ( [id://1012029]=note: print w/replies, xml ) Need Help??


in reply to Extracting Strings - Special Cases

try

$str="hi\"perl\"monks"; $str =~ /.*\"(.*?)\".*/; print "$1\n";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-29 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found