View Single Post
 
Old 06-21-2011, 12:26 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,371
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 Fig,
Quote:
I am not interested in learning the ins and outs of how a word document is structured
Without wanting to place too fine a point on it, had you taken the time for this, you wouldn't be in the predicament you're now in.

Even without knowing what the 'spaces' are, it's possible to delete them via an ordinary Find/Replace, where:
Find = ^p^w
Replace = ^p
This will delete ordinary spaces, non-breaking spaces & tabs following a paragraph break (i.e. at the start of the following paragraph).

Alternatively, as a variation of the solution suggested in the first post, you could use a wildcard Find/Replace, where:
Find = [ ^s^t]{1,}([!^13]@^13)
Replace = \1
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]