Hi,
I haven't followed all posts in detail, but it seems to me, that that you hit
probably two problems with regex matching in PSPad.
I think, the current regex engine in PSPad doesn't support look-around
assertions like  (?=...)   (?!...)   (?<=...)  (?<!...) .
But more importantly, the search is performed linewise, ie. only within single
lines - the match cannot span multiple lines, and you cannot match the
line-break itself with any pattern (only the position at the beginnig or end of
the line).
This can be worked around partly via scripting, but that is not
straightforward.
regards,
    vbr

-- 
<https://forum.pspad.com/read.php?2,69406,69489>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem