![]() |
|
|
|
#1
|
||||
|
||||
|
Hi Bobsomite,
You can use a wildcard Find/Replace, where: Find = <[A-Z][a-z]@> Replace = ^& and the Find font format has the 'All Caps' option unchecked and the Replace font format has the 'Small Caps' option checked.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
That is the best damn thing I've learned all week. Eventually I got around to digging into the Microsoft Help, but what really helps is seeing your syntax. After a little tinkering with it, I was able to pare it down to words 3 letters or greater. Very cool, thanks again!
|
|
#3
|
||||
|
||||
|
Quote:
Find = <[A-Z][a-z]{2,}>
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#4
|
|||
|
|||
|
Wow!
You just saved me a couple of hours. Thank you!!!! |
|
#5
|
|||
|
|||
|
Where can I learn more about the find wildcard feature? Specifically the coding like: <[A-Z][a-z]@>
|
|
#6
|
|||
|
|||
|
Word wildcards are at this URL:
http://office.microsoft.com/en-us/wo...005189433.aspx Don't forget to click the More button and check 'use wildcards' . Below is the string I use to find acronyms. It also finds acronyms that include digits-- the problem being that it also stops on plain old numbers. See if it does you any good. [ETAOINSRHDLUCMFYWGPBVKXQJZ1234567890_-]{2,} |
|
#7
|
||||
|
||||
|
Quote:
[A-Z0-9_-]{2,} or, if your acronyms always start with a letter: [A-Z][A-Z0-9_-]{1,} As for the numbers issue, if you mean it doesn't find complete numbers with thousands separators & decimal points, that's because neither of those is provided for in your Find expression. Problem is, though, that if you do so, it'll also pick up commas and periods.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and highlight multiple words in MS Word document
|
AtaLoss | Word VBA | 37 | 09-22-2021 12:04 PM |
| Can you check the "find whole words only" box when using characters? | pimpong | Word | 6 | 02-06-2012 06:56 PM |
Is there a way to use "find/replace" to find italics words?
|
slayda | Word | 3 | 09-14-2011 02:16 PM |
Find & Replace words with "/" prefix & suffix
|
tollanarama | Word | 4 | 01-25-2011 02:19 AM |
| FInd recurring words in Word 2003 | NJ007 | Word | 4 | 01-25-2010 03:11 PM |