Regex to search for Full Names

Regex to search for Full Names

June 7, 2017

I used this search in PowerGrep today searching through multiple transcript text files to find personal names. It will find any instance of two consecutive words whose first letters are upper case.   

[A-Z]([a-z]+|\.)(?:\s+[A-Z]([a-z]+|\.))*(?:\s+[a-z][a-z\-]+){0,2}\s+[A-Z]([a-z]+|\.)

 

See:

https://stackoverflow.com/questions/7653942/find-names-with-regular-expression 

 

 

Be sure to check off the case sensitive option in PowerGrep. 

Please reload

Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com