Someone was helpful and supplied me with the following to find a lowercase character followed by an EOL; ([a-z])\R - this worked perfectly - so I thought maybe using the opposite would give me an EOL followed by a lowercase character like this; \R([a-z]) - but this does not seem to work, in fact it seems to find lines starting with uppercase letters. I may well be doing something wrong or need enlightening.

Example - Before

"Thanks very much for sending the pictures" CRLF
he saidCRLF


"Thanks very much for sending the pictures" he saidCRLF

Any help appreciated, Thanks

New contributor
Ramses505 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Please edit the question and provide some example text (before and after the changes required). – DavidPostill Jul 11 at 23:09

This does not seem to work. In fact, it seems to find lines starting with uppercase letters.

If you want to Match case, you'll need to have that option checked:

Notepad++ - Match Case - Screenshot

Match case should respect \R([a-z]) (lower case) and \R([A-Z]) (uppercase). If Match case isn't checked, \R([a-z]) will match both lower and uppercase letters. You'll also likely want to have Wrap around checked as well, assuming you want your regular expression search to be "restarted" at the beginning of the document after reaching the final match.

As an obvious caveat, you will need to have some lines that start with a lower case letter for \R([a-z]) to work at all.

Your Answer

Ramses505 is a new contributor. Be nice, and check out our Code of Conduct.

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.