Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
n't|\b\w+(?!'t)
/
gm
Input 1
weren't don't wasn't didn't shouln't doesn't Pierre Vinken, 61 years old, will join the board as a nonexecutive director Nov. 29. U. then Mr. jdshdjshdjs. Dr. dsdss. a. 0 Mr. Vinken is chairman of Elsevier N.V., the Dutch publishing group. n't weren't. ffldfld Rep. fdkfdkd Mr. Mrs. Sen. dskdsk. Rudolph Agnew, 55 years old and former chairman of Consolidated Gold Fields PLC, was named a nonexecutive director of this British industrial conglomerate.
Substitution
weren't don't wasn't didn't shouln't doesn't Pierre Vinken, 61 years old, will join the board as a nonexecutive director Nov. 29. U. then Mr. jdshdjshdjs. Dr. dsdss. a. 0 Mr. Vinken is chairman of Elsevier N.V., the Dutch publishing group. n't weren't. ffldfld Rep. fdkfdkd Mr. Mrs. Sen. dskdsk. Rudolph Agnew, 55 years old and former chairman of Consolidated Gold Fields PLC, was named a nonexecutive director of this British industrial conglomerate.