Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:(?<=[\s,.:;"']|^)\p{Lu}\p{Ll}+(?:[\s]\p{Lu}\p{Ll}+)*(?=[\s,.:;"']|$))|(?<=((?<=[\s,.:;"']|^)\p{Lu}\p{Ll}+(?:[\s]\p{Lu}\p{Ll}+)*(?=[\s,.:;"']|$))\s\()(?:\p{L}*?)(?=\))
/
gmu

Description

Find validation name and name inside parentheses

Submitted by nghilq - 2 years ago