Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-07-30 08:13
Flavor·ECMAScript (JavaScript)

/
([A-Za-z0-9]\w+\s\w+)+
/
gm
Open regex in editor

Description

This Regex will help to match any first & last name from paragraph as one line, if you would to do the matching based on multi lines, add "gm" in the last of this query.

/([A-Za-z0-9]\w+\s\w+)+/gm

Submitted by Fares Alarabi