Regular Expressions 101

Library entries

Name (First, Last) or (Last, First)

Vote

0

Regular Expression
pcre2

/
^\s*[a-zA-Z]+([\-\s']?[a-zA-Z]+)*\s*,\s*[a-zA-Z\s]+([\-\s']?[a-zA-Z]+)*\s*$
/
gm

Description

Loading markdown...
Submitted by Bryan Luu - 9 months ago