I am using Dynamic Hotstrings as part of my implementation of AutoHotkey. It has been an invaluable tool in the learning of Regular Expressions.
Currently I use it heavily for text expansion within my daily processes at the office. I am however having trouble within word processing software when using text formatting. In the case that I bold, italicize, or otherwise provide a modification to the format at the beginning of a string that would otherwise expand, it will not expand because the control character is part of the string. I have been using \b as the initial switch in my regex.
I am looking to see if there is a shortcut within the regex world to account for these kind of characters without enumerating them by hand. Does such exist?
If not, is there a handy reference of all the control characters I would need to account for in MS Word?
Thank you for your time.
hotstrings("\boic"tailchar,"Officer in Charge (OIC)%$1%")which takes the text "oic" and expands it even here. Of course the expression also "sees" the ctrl-b if I were to type the same in the word processor in bold.tailcharis simply a variable that holds all the characters I would like to signify and end to the string. – EFH Oct 2 '12 at 18:27