I have to replace \ in files when the \ is not followed by "
so I made this regex to find occurrences with SublimeText:
#\\^"# but it doesn’t work
Do someone has an idea ?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t use
^to negate a symbol. That works only for groups marked with[]to say you mean the opposite. You can use a look-ahead expression to define that the next character may not be a quote:#\\(?!")#(Remember to escape the quote, if you use it in a string!)