I want to extract proper nouns (e.g Micheal Jackson) from a text with PHP regex but my regex is not right.
The text:
My friend Micheal Jackson was the King of Pop. The Game Album sold little.
What I want:
A regex that is able to extract proper nouns of multiple words e.g Micheal Jackson or The Game Album.
My regex:
/(?<=\s)([A-Z][a-z]+).*(?=\s)/
Thanks.
P.S. Posted via a mobile device. Apologies if format is poor.