View Single Post
 
Old 01-05-2017, 04:19 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,343
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote