Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?>\p{Lu}+[\p{Ll}'-]+)(?>(?> (?>\p{Lu}[\p{Ll}'©®™-]+))+)
/
g

Description

Get Capitalized Expressions

Submitted by Oscar Hermosilla - 8 years ago