Java - Regex problem
- by Yatendra Goel
I want to remove ) character from the end of a string through a regex.
E.g If a string is UK(Great Britain) then I want to replace the last ) symbol.
Note:
1). The regex should remove only the last ) symbol, doesn't matter how many ) symbols are present in the string.