![]() |
|
#1
|
|||
|
|||
![]()
...without removing those which are between the words?
|
#2
|
||||
|
||||
![]()
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] |
![]() |
Tags |
replace |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
VeeCee | Word VBA | 7 | 01-05-2014 03:39 PM |
![]() |
netchie | Word VBA | 6 | 08-28-2012 03:37 PM |
![]() |
cyndor | Word | 6 | 07-25-2012 06:40 AM |
![]() |
WaltR | Word | 1 | 07-22-2012 09:01 PM |
outlook task notes creates hyphens | abt | Outlook | 0 | 05-09-2009 03:51 PM |