Do you need to use regular expressions as part of an assignment or learning exercise? If so I'd recommend using an online tool like this to test your regular expression syntax. If not, well there...
Type: Posts; User: ChristopherLowe
Do you need to use regular expressions as part of an assignment or learning exercise? If so I'd recommend using an online tool like this to test your regular expression syntax. If not, well there...
You could get away doing this with basic String methods. Use int indexOf(char c) to find the location of the '(' and ')' characters then concatenate two substrings with the bits that come before...