Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2021, 11:35 PM
macropod's Avatar
macropod macropod is offline Getting rid of Non-breaking space Windows 10 Getting rid of Non-breaking space Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

You could, of course use a wildcard Find/Replace, where:
Find = ([A-Z][a-z]@)^s([0-9])
Replace = \1 \2


This would leave the non-breaking spaces before your 'Word' intact. If you're wedded to removing those, too, do a second wildcard Find/Replace, where:
Find = ([0-9])^s([A-Z][a-z]@ [0-9])
Replace = \1 \2
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
non-breaking-space, replace, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-breakable space to have same width as usual space dum Word 5 09-14-2020 03:49 AM
Getting rid of Non-breaking space autocorrect double space to single space frankjake Word 8 09-21-2018 05:44 PM
Getting rid of Non-breaking space In 2010 document set for no space between paragraphs, but getting large space. normancamp Word 10 12-25-2017 04:54 PM
Getting rid of Non-breaking space Autocorrect numbers followed by any string to have non-breaking space seanspotatobusiness Word 8 03-09-2017 05:09 AM
Getting rid of Non-breaking space Non-breaking space and similar characters gpr Word 2 07-10-2015 06:44 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:56 AM.


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