You don't really need a macro. Do a wildcard search for
(<[a-zA-Z]{2,}>) \1
replace with
\1
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
|