Quote:
Originally Posted by mrsandes
So if I were to test the results with the search looking for all matches (without parenthesis), I would have to add the '|' characters to each of the found acronyms? That's what the replace line is doing, right?
|
No, it's not as simple as adding the | character. You would do better to do a search for such acronyms and make sure they're properly formatted to begin with.
Quote:
Originally Posted by mrsandes
That change has a side effect of replacing the first instance of the acronym to all uppercase letters definition, so the first instance looks like: PARTS LIST (PL). Would you be aware of something to go around it?
|
You could insert:
.MatchCase = True
before:
.Replacement.Text = StrExp & " (" & StrAcc & ")"