This regex pattern will detect all words that start with a capital letter followed by zero or more lowercase letters. The \b at the beginning and end ensures that the regex matches whole words only.
Interactive Regex Playground
\b[A-Z][a-z]*\b
This regex pattern will detect all words that start with a capital letter followed by zero or more lowercase letters. The \b at the beginning and end ensures that the regex matches whole words only.
Matches
Found 0 matches