Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-17-2015, 03:31 AM
dabbler dabbler is offline Is there a possibility to remove all the hyphens inside words...? Windows 8 Is there a possibility to remove all the hyphens inside words...? Office 2013
Novice
Is there a possibility to remove all the hyphens inside words...?
 
Join Date: Jan 2015
Posts: 6
dabbler is on a distinguished road
Default Is there a possibility to remove all the hyphens inside words...?

...without removing those which are between the words?
Reply With Quote
  #2  
Old 01-17-2015, 04:37 AM
macropod's Avatar
macropod macropod is offline Is there a possibility to remove all the hyphens inside words...? Windows 7 64bit Is there a possibility to remove all the hyphens inside words...? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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
Reply

Tags
replace



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a possibility to remove all the hyphens inside words...? Remove text between two words VeeCee Word VBA 7 01-05-2014 03:39 PM
Is there a possibility to remove all the hyphens inside words...? Need VBA For Macro On How To Remove Specific Words netchie Word VBA 6 08-28-2012 03:37 PM
Is there a possibility to remove all the hyphens inside words...? Mask mode and hyphens cyndor Word 6 07-25-2012 06:40 AM
Is there a possibility to remove all the hyphens inside words...? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 10:57 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft