Thread: [Solved] Format text automatically
View Single Post
 
Old 04-12-2013, 07:25 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,374
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

The problem is that you have empty paragraphs between your lines. The second line is not the next paragraph as per your original post! Try:
Find = (Nš [0-9]{1;8}/[!^13]{1;})[^13]{1;}([OJ][bu]s[.:ifcatv]{1;13})
Replace = \1 \2
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote