![]() |
#1
|
|||
|
|||
![]()
I am using the following string to find acronyms in reports.
.Text = "<[A-Z]{3" & strAcronym & "}>" This line works fine and finds all uppercase groups of three or more letters, e.g. ABC, HELP, UNIFORM. But, when I try the following code: .Text = "<[A-Z]{3,4" & strAcronym & "}>" which should find all instances of uppercase groups, but limited to three or four letters, it doesn't work and I get an error message. Something I tried: If i use the Find and Replace dialog box and enter <[A-Z]{3,4}> It works ![]() Any ideas ![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Brigitte | Word | 7 | 06-15-2021 05:10 PM |
![]() |
omahadivision | Excel Programming | 12 | 11-23-2013 12:10 PM |
![]() |
AlexanderJohnWilley | Excel | 6 | 09-27-2013 08:39 PM |
![]() |
errtu | Word | 1 | 01-31-2013 02:09 PM |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |