Let's say I've got a regex expression utilizing some of the special chars, but also a portion with 'normal' text that just happens to have some symbols in. Let's also say I'm too lazy to start escaping every "would-be" special character in the 'normal text' part.
How can I enclose the 'normal' text bit so that Regex doesn't start throwing a fit when it thinks it's come across a special character (when really it hasn't) ?
As an example, let's say I search for the text:
.*Hello it's true that ([6*.5]^2=9).
I certainly don't want to laboriously use the escape char each time any of the special chars appears in that maths section (or the apostrophe in "don't"). On the other hand, I DO want to treat the
.* bit at the start as special characters.
So can I enclose the
Hello it's true that ([6*.5]^2=9) section so that Regex treats it as normal text and not special?
I'm using Notepad++ to do a find and replace, but hopefully, any answer will be the same no matter what the program.