Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: data between brackets

by sh1tn (Priest)
on Dec 06, 2007 at 21:07 UTC ( #655504=note: print w/replies, xml ) Need Help??


in reply to data between brackets

You should escape the special characters:
s/.+?\((.+?)\).*/$1/;


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://655504]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-12-13 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (380 votes). Check out past polls.

    Notices?