You have apparently found another regex features currently not supported in
PSPad;
For explanation, I recommend the following comprehensive ressource:

https://www.regular-expressions.info/refquick.html

(?<!pattern>)
is negative lookbehind assertion

(?!pattern)
is negative lookahead assertion

see also: https://www.regular-expressions.info/lookaround.html

I don't know (?~pattern)
but you may read about some uses of this tilde characters with regexps e.g.:
https://docs.perl6.org/syntax/ tilde
or simply search for "regular expressions tilde"

 and    can be easily looked up in the mentioned
https://www.regular-expressions.info/refquick.html

hth
vbr

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

Odpovedet emailem