Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Answer: how do i replace brackets in a regex?

( #160751=categorized answer: print w/ replies, xml ) Need Help??

Q&A > regular expressions > how do i replace brackets in a regex? - Answer contributed by I0

or $journal =~ s/[()]//g;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2016-08-29 18:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (407 votes). Check out past polls.