I want help with regular expressions to solve the following problem:
I have a string such as \"1£23$456$£$\"
when I split on it I want the output in my strin
You probably want this
Matcher m = Pattern.compile("[^$£]*(\\$|£)").matcher(input);