Regular Expressions 101

Community Patterns

1...45678...901

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