Thread: Delete text
View Single Post
 
Old 12-31-2010, 04:46 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Hi Michael,

Try a wildcard Find/Replace with:
Find = Periods*([^13]{2})
Replace = \1

Is there a particular reason you need this as a macro? I'm happy enough to do one, but I'd like to be sure the solution works and that the request isn't simply because of a mistaken belief that's what's required.

PS: If you insert a space before the 'Periods' in the Find box, the trailing space at the end of each para will also be deleted - but it'll cause problems if the 'Periods' starts a new line.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]

Last edited by macropod; 12-31-2010 at 05:08 PM. Reason: Better Find/Replace expressions & PS
Reply With Quote