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
Shortening Names: Erase everything between a white space and a comma.
Open Workspace
PCRE (Legacy)
Substitution
Created 2017-01-30 14:40
0
Regular Expression
/
\s.
*
,
/
g
Description
This is useful for shortening names.
Submitted by
mglezsauri@gmail.com