(?!⋯⋯) (?<!⋯⋯) is a very, very useful and efficient ⏳ filter(blacklist)
🗣Otherwise, the intelligent blacklist matching cannot be realized.
General usage: abc(?!⋯⋯).* or abc(?!⋯⋯) .*(?<!⋯⋯)abc or (?<!⋯⋯)abc
for example !^(https?://)www\.(.*/.*)!$1$2!gm But how to exclude a certain keyword? 👇
Clicking to see screenshot

!^(https?://)www\.(?!ithome|pan)(.*/.*)!$1$2!gm
^(https?://)www\.(?!ithome|pan)(.*/.*)
👆There is no problem with this regularity itself,
Please see the following RegExp matching testing 👇
or RegExp graphical analysis.👇
Clicking to see screenshot

(?=⋯⋯)(?<=⋯⋯)☑Supported(?!⋯⋯)(?<!⋯⋯)❌not support, Can support them ❓General usage:
abc(?!⋯⋯).*orabc(?!⋯⋯).*(?<!⋯⋯)abcor(?<!⋯⋯)abcfor example
!^(https?://)www\.(.*/.*)!$1$2!gmBut how to exclude a certain keyword? 👇Clicking to see screenshot
!^(https?://)www\.(?!ithome|pan)(.*/.*)!$1$2!gm^(https?://)www\.(?!ithome|pan)(.*/.*)👆There is no problem with this regularity itself,
Please see the following RegExp matching testing 👇
regex101.com/r/EHQVEC/3
or RegExp graphical analysis.👇
uzitech.github.io/regexper
jex.im/regulex
Clicking to see screenshot