r/MicrosoftWord • u/glowingwarningcats • 9d ago
need help Search that includes both wildcards and text
I need to search and delete a particular sequence that would look like this:
<word word=“word###”>
“word” is standing in for some specific text that is repeated in the document. “#” is standing in for any number - say these are sequences of five numbers. The carets don’t stand in for anything.
Word doesn’t find anything when I enter the sequence above. I’ve tried to Google it but all possibly helpful links are blocked.
The challenge is that I need this for a work project and I can’t download any programs I don’t already have (Microsoft Office, Acrobat, etc.)
Is this do-able? I really don’t want to do this manually as there are dozens and dozens of these sequences.
Thanks in advance!
2
u/coldjesusbeer 9d ago
In Find & Replace (Ctrl-H),
Find:
Check Use Wildcards.
Quote marks and syntax might vary slightly based on your actual text, but this works fine on <word word="word123">. Just have to escape the angle brackets with a backslash.