I am using java and intellij and have a regexp sequence as
$(.*)("(.*)")
This matches
$123("money")
G1=123
G2=money
When i use this in intellij it gives me errors of incorrect string. Even if a copy paste it ,intellij insert additional escape but that fails the match