What I want to do with the items found
Sorry I wasn't clear in post #3, where I wrote: I need to find all instances of [A-Z][A-Z]-[0-9] in a doc. (and get surrounding characters, if present, that are similar*) and somehow list them (either by deleting everything else in the doc or copying them into a blank file).
*e.g., BC-3, ABC-5, BC-003, DA-378-A
The examples I gave are contained within regular text paragraphs, and I just need to create a list of all the items (e.g., AB-1, DEM-0003, etc.).
Thanks very much
|