Online Regex Tester
/
.NET Regex Library
Last Name, First Name
0
Try it yourself
^(?<LastName>\w+),\s?(?<FirstName>\w+)$
Simply matches last and first names separated by a comma and stores them in named groups: LastName and FirstName.
Steve Wortham
1/2/2010 1:15:09 PM
0 comments so far.
Log in
to leave a comment.
Preview
<< back to
Library
You cannot vote on your own.
(click to dismiss)
You may only vote once.
(click to dismiss)
You must log in to vote.
(click to dismiss)
Regex Hero
Log In
.NET Regex Tester
Reference
Library
Videos
Contact