![]() |
|
|
|
#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 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Remove text between two words
|
VeeCee | Word VBA | 7 | 01-05-2014 03:39 PM |
Need VBA For Macro On How To Remove Specific Words
|
netchie | Word VBA | 6 | 08-28-2012 03:37 PM |
Mask mode and hyphens
|
cyndor | Word | 6 | 07-25-2012 06:40 AM |
Change hyphens to dashes isn't working in XP (Word 2007)
|
WaltR | Word | 1 | 07-22-2012 09:01 PM |
| outlook task notes creates hyphens | abt | Outlook | 0 | 05-09-2009 03:51 PM |