Java - Regex problem

Posted by Yatendra Goel on Stack Overflow See other posts from Stack Overflow or by Yatendra Goel
Published on 2010-04-15T15:41:27Z Indexed on 2010/04/15 15:43 UTC
Read the original article Hit count: 546

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about regex