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
/
\bterm|term\b
/
g
Input 1
1
New
a term is the terms are the midterm was the midterms were
Substitution
a term is the terms are the midterm was the midterms were