The wildcard '*' is a blunt instrument and should be treated with caution ... and you only need two pairs of brackets in the search string. I would have suggested
(Section )([0-9.]{3,})
replace with
\1[\2]
See http://www.gmayor.com/replace_using_wildcards.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|