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"
(?x) # set flag to allow verbose regexps (?:[A-Z]\.)+ # abbreviations, e.g. U.S.A. |\d+(?:\.\d+)?% # percentages, 82% |\w+(?:[-']\w+)* # permit word-internal hyphens and apostrophes |[-.(]+ # double hyphen, ellipsis, and open parenthesis |\S\w* # any sequence of word characters# |[][{}.,;"'?():_`-] # these are separate tokens
"
g
Input 1
New
How I'm 15.5% wholesome-looking U.S.A. we RADAR () [] {} you -- are, ... you?