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
/
\b(t)(?:anks *(?=[.?!]\n|to|for|in|ever)|[han]{3}([ks]{2}|x)+|hx|anx)\b
/
gi
Input 1
Fix: thx 28,227 results thanx 12,147 Tanks 1,087 <-- may actually mean _tanks_. tanks in advance tanks everyone tanks for the help Tanks! thansk 518 tanx 125 tahnks 97 Leave alone: thank you tank, tanks of acid, task, tasks Suppose there is a production line with 8 tanks: each filled with a different substance for parts to be dipped in. The parts will be dropped into tanks by a crane along side the tanks. (http://stackoverflow.com/questions/25062870/)
Substitution
$1hanks
Fix: thx 28,227 results thanx 12,147 Tanks 1,087 <-- may actually mean _tanks_. tanks in advance tanks everyone tanks for the help Tanks! thansk 518 tanx 125 tahnks 97 Leave alone: thank you tank, tanks of acid, task, tasks Suppose there is a production line with 8 tanks: each filled with a different substance for parts to be dipped in. The parts will be dropped into tanks by a crane along side the tanks. (http://stackoverflow.com/questions/25062870/)