regex search for names
top of page

regex search for names


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.


bottom of page