I have some text like this : Javascript (12+ years), Java (10 years)
How to use regular expression to extract the following text : Javascript, Java
I've seen that link, have you tried it ? It doesn't work in my case !
The answer below works : replaceAll("\\((.+)\\)","")