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\w*\b
/
gm
Input 1
1
New
hello world In a regular expression, "word" means a continuous letter or number of no less than one. 在正则表达式中“单词”是指一个不少于1个的连续字母或数字