Your document contains a mix of manual line breaks and paragraph breaks. Accordingly, the Find/Replace should have treated the content as a single match and have replaced the lot with:
FTEST(global.test_1)
For your attachment's content, you could use a wildcard Find/Replace, where:
Find = (global.test_[0-9]{1,})*([^13^l])
Replace = FTEST(\1)\2
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|