Re: Replacing text via code

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article <edAgWWsWFHA.2128@xxxxxxxxxxxxxxxxxxxx>, Greg Maxey wrote:
> The parens around the first "([0-9])" is a group (group 1). The parens
> around the second "([0-9])" is a group (group 2). In the replace with field
> you are putting back the found content of group 1 "\1" the en dash "^=" and
> the content of found group 2 "\2"
>

Twas the Grouping capability I wasn't aware of, and I've now found it in the
help. Works great when you know what you're looking for <s>.

> The a description of most of the special wildcard codes can be found in Word
> Help. Here is an excellent reference by fellow MVP Graham Mayor:
> http://www.gmayor.com/replace_using_wildcards.htm
>

I'll have a look for that this evening. Thanks again.

--
Roger

.



Relevant Pages