Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
([A-Z][a-z]+(?=\s[A-Z])(?:\s[A-Z][a-z]+)+)
/
g

Description

"Bank Negara Malaysia", "1Malaysia Development Bhd"

Submitted by aizu - 9 years ago