Reply
 
Thread Tools Display Modes
  #1   Report Post  
Dave Gaines Dave Gaines is offline
Junior Member
 
Posts: 0
Default Finding words consisting only of repeated characters

Hi,

I have a technical editing macro that identifies and fixes various glitches in technical reports. I'd like to highlight instances of repeated characters, where authors have entered repeated characters to remind themselves to fill in the specifics later.

For example, "The details are provided in Figure xxx." or "The system weighs yyy lb."

It's typical that authors use xx, yy, or zz, so have already addressed those (see below), but would like to be able to find all instances of words consisting of only repeated characters (aaaa, bbbb, ccc, dddddd, etc) with a single search pattern.

For xs, yx, and zs, I already have the following, highlighting each replacement in yellow:

FindText:="([xX]@)", ReplacementText:="\1"
FindText:="([yY]@)", ReplacementText:="\1"
FindText:="([zZ]@)", ReplacementText:="\1"

Thanks in advance for your help!
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way of finding all repeated names in a document? Margot Alnwick Microsoft Word Help 1 May 10th 08 05:53 AM
Finding & Replacing Characters using wildcards Greg Microsoft Word Help 5 October 20th 06 08:51 PM
Finding words that are 34 characters or higher--search expression erik_gregory Microsoft Word Help 1 February 7th 06 12:57 AM
finding special characters New Users 2 June 1st 05 09:51 AM
Repeated words Chris Hale Microsoft Word Help 3 December 27th 04 12:10 PM


All times are GMT +1. The time now is 03:09 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"