2

Somebody knows how to ignore capitalization with regular expression in Notepad++?

From shell it works as follows:

egrep -i '^(FroM|SuBjeCT|DatE): ' filename.txt

Thanks in advance.

1

2 Answers 2

7

In the Find dialog use the Match case checkbox to choose whether you want case-insensitive searching or not, ie. leave it UNCHECKED to ignore capitalization with NotePad++ regular expressions.

6

You can use the ?i modifier.

(?i)(from|subject|date)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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