Home
Tester
Reference
About
Pattern
\b(?!(?:and|not|or)\b)\w+
Input
This
and
This
not
That
This and This not That
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
"$&"
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
3
matches found in about
2
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
0
0
This
"This"
1
9
This
"This"
2
18
That
"That"
"This"
and
"This"
not
"That"
empty string
and
not
empty string