View Single Post
 
Old 01-17-2015, 04:37 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,344
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

That depends - on whether the hyphens between words have spaces, etc. between them. Also, optional hyphens can be deleted without worrying about the ' between words' issue, since they should only occur within words.

For example, assuming the hyphens between words have spaces, etc. between them, you could use a wildcard Find-Replace, where:
Find = ([A-Za-z])[\-^-]([A-Za-z])
Replace = \1\2
to delete both ordinary and optional hyphens within words.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote