Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Words with spaces in-between
Open Workspace
Python
Match
Created 2016-01-27 19:16
0
Regular Expression
r"
^
[
a
-
zA
-
Z._'~,-
]
+
(?:
+
[
a
-
zA
-
Z._'~,-
]
+
)*
$
"
gm
Description
Matches words (with certain special chars) and one or more spaces in between those words.
Submitted by
JAVA