Regular Expressions 101

Sponsors

Library entries

Shorten Names: Delete everything but the First and Second Last Name

Vote

0

Regular Expression
pcre

/
^(\p{L}+?\s)(\p{L}+?\s).*(,.*$)
/
g

Description

Loading markdown...
Submitted by mglezsauri@gmail.com - 5 years ago