David
I have no idea of what you are trying to do with your numbers as you don't appear to want to change the individual pages but do want to change spans but not deal with numbers that click over a second digit. Then 113-14 needs to become 115-34?? That one makes no sense at all to me.
My code is using Word's built-in wildcard functionality. This is similar to regex but less powerful. If you want to search for a number with between 1 and 3 digits you look for "[0-9]{1,3}" so you are probably trying to find "[0-9]{1,3}-[0-9]{1,2}"
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|