Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Answer: how do i replace brackets in a regex?

by particle (Vicar)
on Apr 09, 2002 at 18:11 UTC ( #157810=categorized answer: print w/replies, xml ) Need Help??

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

$journal =~ tr/)(//d;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-12-16 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (449 votes). Check out past polls.

    Notices?