![]() |
|
#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 Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and Replace is not working
|
Brigitte | Word | 7 | 06-15-2021 05:10 PM |
Way to search for a string in text file, pull out everything until another string?
|
omahadivision | Excel Programming | 12 | 11-23-2013 12:10 PM |
string concat stopped working?
|
AlexanderJohnWilley | Excel | 6 | 09-27-2013 08:39 PM |
Find and replace a string of text
|
errtu | Word | 1 | 01-31-2013 02:09 PM |
Bad view when using Find and Find & Replace - Word places found string on top line
|
paulkaye | Word | 4 | 12-06-2011 11:05 PM |