Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-05-2018, 05:06 AM
gmayor's Avatar
gmayor gmayor is offline Searching for any instances of immediate word repetition (eg "the the") Windows 10 Searching for any instances of immediate word repetition (eg "the the") Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I delete the names under "Exceptions" when I use the "Restrict Editing" feature in Word? MengS Word 0 02-25-2015 02:57 PM
Searching for any instances of immediate word repetition (eg &quot;the the&quot;) Word 2011 Mac: autoconvert "2015" to "two thousand and fifteen?" moonman239 Word 3 02-06-2015 12:22 PM
can find and replace instances of the "enter" key? snunicycler Word 7 05-02-2013 11:54 PM
Searching for any instances of immediate word repetition (eg &quot;the the&quot;) Word options "field shading" reverts to "when selected" PaulBurcham Word 1 04-20-2013 11:18 AM
'Linking' entered information to other "cells" from an original "cell" in MS Word Wade Word 6 09-03-2012 05:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft