Searching for and Highlighting Regex Strings

Searching for and Highlighting Regex Strings

July 16, 2019

Don't miss that you can run regular expression searches in Word, and then highlight the results.   In Find and Replace, check off the 'Use wildcards' box and enter the searched for term in parentheses.  In this example, we're searching for eight-digit numbers using this Regex pattern:

([0-9]{8})

 

 . . . since we're only using one Regex term, to replace with the searched for term we only enter a '\' followed by a '1'.  If there was a second term we would enter '\2'.  

 

 This works in both MS Word 2016 and MS Word 2010. 

 

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