A family of Microsoft word processing software products for creating web, email, and print documents.
Doing Wildcard or Regex Search in Word with the Find Tool
I'm using Word on Windows 11 on a desktop. Is there a way to do something like a Regex or Wildcard search? I see that in the find they talk about using wildcards but I couldn't get it to work. I'm writing something technical and for names of properties I changed my standard from naming such as has_Father to has_father. I think I got them all but I would like to do a search for any underscore followed by a capital letter to make sure. Thanks in advance for any help.
Michael
Microsoft 365 and Office | Word | For business | Windows
Answer accepted by question author
-
Stefan Blom 339.3K Reputation points MVP Volunteer Moderator2025-11-05T18:27:32.78+00:00
Answer accepted by question author
-
Viorel 126.9K Reputation points2025-11-05T17:07:23.7533333+00:00 In the Advanced Find dialog, select the Use wildcards option, and try this text:
_[A-Z]. This should work for Latin letters.
1 additional answer
Sort by: Most helpful
-
Michael DeBellis 60 Reputation points
2025-11-06T23:36:22.45+00:00 Thanks guys. I'm not sure what was happening before because I was trying this but for some reason it wasn't working. I must have forgotten to enable wildcards or something. In any case this worked and I can be sure I found everything that needs to be changed. Thanks a lot!!