October 23rd, 2006

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).

One Response to “MS Word’s Find and Replace has limited regex support”

  1. tgaw Says:

    Heh– thanks for the plug!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>