![]() |
|
#1
|
|||
|
|||
![]()
Hi all,
Is there a way to search for two consecutive words that are set in title case (i.e., first letter is capitalized and remaining letters are lowercase)? I know [A-Z] will find a capital letter, but not sure how to define two strings beginning with a capital letter. |
#2
|
|||
|
|||
![]()
I should say that my current attempt is
[A-Z][a-z] [A-Z][a-z] But it only seems to be finding word pairs that start after a punctuation mark. |
#3
|
||||
|
||||
![]()
Provided both words have more than one letter, a wildcard Find with:
Find = <[A-Z][! ]@ [A-Z][! ]@> should do.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#4
|
|||
|
|||
![]()
That's great Paul, thanks. Would it also be possible to look for the same thing, but with a space after the second word? (this would help me reduce the found instances and focus on what I'm looking for).
I tried adding the space after the second @ but it did not seem to register. |
#5
|
||||
|
||||
![]()
Simply add a space character after the >
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#6
|
|||
|
|||
![]()
Great, thanks so much Paul and happy holidays!
|
#7
|
||||
|
||||
![]()
I don't get holidays - I'm retired...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#8
|
|||
|
|||
![]()
Sounds good!
|
![]() |
Tags |
search, title case |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MS word 2007, capital letter after number (1. place turn to 1. Place) | enzo321 | Word | 1 | 10-23-2016 06:19 AM |
![]() |
xiangwulu | Word | 4 | 10-31-2014 09:00 AM |
How to Turn Off Message "Search from the beginning of a document" in a Macro | sleake | Word | 10 | 10-15-2013 03:43 PM |
![]() |
powerdrum | Word VBA | 2 | 12-08-2011 05:06 PM |
![]() |
LUCK_TOUCH | Word | 2 | 08-15-2011 09:59 PM |