mardi 28 juin 2016

How to replace string that contain bracket? (Regex)

i want to ask you something simple. I have string like:

happy (adj)

sad (v)

and i want to replace those brackets with empty string (" ") so it would be like this:

happy

sad

i know that i have to use regex but because im new in regex, can u help me with the pattern guys? thank you :')

Aucun commentaire:

Enregistrer un commentaire