references:
- http://www.csgnetwork.com/asciiset.html
- http://www.techrepublic.com/forum/questions/101-213548/paragraph-code-vs-13-code-in-ms-word
- http://office.microsoft.com/en-us/support/putting-regular-expressions-to-work-in-word-HA001087304.aspx
When I use Find and Replace in MS Word (I'm using Word 2010, but this will work in 2007 and 2003), I use ^p and ^t to find paragraph and tab marks, respectively. But, if I'm doing wildcard searches, then those 2 codes don't work.
I was reading up on regular expressions in MS Word's F&R (ref. 3) and they mentioned that you could use ^13 in regular expressions instead of ^p. There were some warnings in there as well. The paragraph mark in Word contains the formatting information for the preceding paragraph, whereas the ^13 is merely a carriage return.
However, "13" is the ANSI decimal code for a carriage return (CR), so I looked up some other ANSI control codes (ref. 1). The ANSI decimal code for the horizontal tab character is "9". Sure enough, in Word's F&R, I can substitute ^9 for ^t when using regular expressions.
When used carefully, this allows me to do (almost) all of my F&R using wildcard expressions. This solves a long-term gripe of mine. Great!

