View Single Post
 
Old 03-30-2016, 05:06 PM
gmaxey gmaxey is offline Windows 7 32bit Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,601
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Type "apples cherries oranges" in a document. Using Find and replace with More>Use wildcards, type (apples)(*)(oranges) in the find what and \2 in the replace with. Click replace all.

You see in my code, group 2 defined anything between the tags and in Paul's it was group 3.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote