Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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.

share|improve this answer

You can use the ?i modifier.

(?i)(from|subject|date)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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