See http://www.gmayor.com/replace_using_wildcards.htm
There is no pipe in the string so searching for one is not going to find it.
Search instead for (cat) (dog)
Replace with
\2 \1
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
|