- My string is like this : Name (CLOSED)
- My string is like this : Name (CLOSED 0FF)
- My string is like this : Name (CLOSED OF)
- My string is like this : Name (DEC'D)
I want to remove both brackets and string inside the brackets, to get only : Name
I'm using this URL http://regexr.com/ and I have written regx like this: ([()]CLOSED)
However, the last bracket is not getting selected. What am I doing wrong?