How to activate and deactivate RegEx search modifiers using Notepad++? (i, s, x, m, U...)


It works like in (almost) any regex flavour:

Activate  Deactivate
(?i)      (?-i)
(?s)      (?-s)
(?x)      (?-x)
(?m)      (?-m)
(?U)      (?-U)

You can combine them:

(?ixm)    (?-ixm)
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.