I need to find all \\r\\n that do not precede the letter M; Seems I can\'t do this:
\\r\\n
\\r\\n[^M]
I can only do \\r\\n<
\\r\\n<
You should instead use this regex:
\R(?!M)
Explanation:
\R
(?!M)