Hi everyone,
I succesfully wrote a regex in python in order to substitute all the occurences in the form $"somechars" with another string. Here it is:
newstring = re.sub(ur"""(?u)(\$\"[\s\w]+\")""", subst, oldstring)
Now, the problem is that I would like to exclude from the substitution all the strings that start with two dollars symbols, i.e. strings in the form $$"this_string_must_be_kept". Can anyone help me to modify my regex in order to achieve this goal?
Thanks in advance!