A worked example, rendered from real sample data. Sign in to run the tool on your own input.
/\b[A-Z][a-z]+\b/g
---
Alice and Bob went to the Store to buy Coffee and Tea.Pattern: /\b[A-Z][a-z]+\b/g
5 matches
Match 1 [0–5): "Alice"
Match 2 [10–13): "Bob"
Match 3 [26–31): "Store"
Match 4 [39–45): "Coffee"
Match 5 [50–53): "Tea"
Test regex patterns with match highlighting and group extraction. Part of the DevTools Surf developer suite. Browse more tools in the Text / String collection.