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
r"
\(?([\w']+)(?: *\/ *| +or +)([\w']+)\)?
"
mg
Input 1
New
someone can tell/figure a/the squeaky wheel gets the grease/oil accounts for (someone or something) that's/there's (something/someone) for you _OUTPUT_ someone can tell someone can figure a squeaky wheel gets the grease a squeaky wheel gets the oil the squeaky wheel gets the grease the squeaky wheel gets the oil accounts for someone accounts for something that's something for you that's someone for you there's something for you there's someone for you
Extraction
someone can tell/figure a/the squeaky wheel gets the grease/oil accounts for (someone or something) that's/there's (something/someone) for you _OUTPUT_ someone can tell someone can figure a squeaky wheel gets the grease a squeaky wheel gets the oil the squeaky wheel gets the grease the squeaky wheel gets the oil accounts for someone accounts for something that's something for you that's someone for you there's something for you there's someone for you