Regular Expressions 101

Community Library

Community Library Entry

-2

Regular ExpressionOpen Workspace

/
^((?!test).)*$
/
gm

Description
Created·2021-02-16 08:53
Type·Match
Flavor·PCRE2 (PHP)

this will exclude particular phrase from a line. means it will match only those line which dont have those word

Submitted by Anonymous
Open Workspace