Finding Acros with Find/Replace

  • Thread starter Thread starter ~ Bruce ~
  • Start date Start date
B

~ Bruce ~

I wonder how you can search for acronyms [2 or more capitalized letters]
without simply finding the first letter of each sentence?

Thanx a heap!
 
~ Bruce ~ said:
I wonder how you can search for acronyms [2 or more capitalized letters]
without simply finding the first letter of each sentence?


Hi Bruce,

Expand the dialog if necessary, check "Match wildcards", and use
Find what: <[A-Z]{2,}>

[A-Z] matches any letter between A and Z,
{2,} matches 2 or more of them.
< matches the start of a word, > the end of a word.

The <word anchors> probably aren't necessary, but can't hurt.

I sometimes use that search to format acronyms with "small caps"... using
either the font formatting or a character style in "Replace with".

Regards,
Klaus
 
Back
Top