regex search for names
- Sean O'Shea
- Jun 23, 2017
- 1 min read
You can search through text files for any two consecutive capitalized words using this regular expression:
([A-Z][a-z]*)[\s-]([A-Z][a-z]*)
Here I've shown how to run the search using Power Grep. Be sure that you have the case sensitive search box checked off.

See the results below:

Still struggling to get through a trial. I should be able to improve the quality of these posts soon.