A macro isn't necessary. Replace
([0-9]{3}.[0-9]{12}) (-[0-9]{2}.[0-9]{13})
with
[\2,\1]
with the wildcard option set.
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
|