MS Word’s Find and Replace has limited regex support
I just noticed a post on TGAW’s blog, Word 2003 - The Find What text contains a Pattern Match expression which is not valid, which contained some information that I don’t need right this second, but I do want to make a note of that’s more conspicious to me in the future…
She was trying to do a search/replace in Microsoft Word 2003, and stumbled across the fact that the Find and Replace dialog, with the ‘Use Wildcards’ option checked, “is pretty much a regular expression search (it does appear to be missing some support like \d, \w, etc)”.
I’m a big fan of regular expressions (although I must admit having been intimidated by them for years before finally getting comfortable using them), and often post code samples that used regexes, and just plain search/replace expressions that have proven useful to me, on my old geek blog (and in the future they will go here instead).


October 27th, 2006 at 10:04 pm
Heh– thanks for the plug!