Regular Expressions 101

Library entries

Match word or phrase not preceded by another word or phrase

Vote

0

Regular Expression
pcre2

/
^(?!notword)(?:(?!notword).)*yesword
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago