Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2018, 10:52 AM
knpaddac knpaddac is offline Replace All -- inserting a space between two non-consistent characters Windows 10 Replace All -- inserting a space between two non-consistent characters Office 2016
Novice
Replace All -- inserting a space between two non-consistent characters
 
Join Date: Jan 2018
Posts: 13
knpaddac is on a distinguished road
Default Replace All -- inserting a space between two non-consistent characters

I have a document of several hundred pages, much of it lists in laid out in paragraphs. Each item is separated by a ";". This was scanned via OCR software and many times there is no space between the ; and the next item.

I want to use the replace all feature to locate all instances where this lack of a space is and then insert a space.



I have figured out what to type in the 'find' field and that is ";[! ]" however, I do not know how to get it to simply put a space after the semicolon but before the next letter. What syntax, if any can I use to do this in the 'replace with' field?
Reply With Quote
  #2  
Old 01-30-2018, 12:52 PM
macropod's Avatar
macropod macropod is offline Replace All -- inserting a space between two non-consistent characters Windows 7 64bit Replace All -- inserting a space between two non-consistent characters Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Using a wildcard Find Replace:
Find = ;([! ^13^l])
Replace = ; \1
The addition of ^13^l to the Find expression ensures the F/R doesn't put the space in at the end of lines terminated by a paragraph break or line break.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting unicode characters that don't exist in MS Word jdavid10 Word 5 01-11-2017 12:14 PM
inserting non-standard symbols or combining characters watergate Word 3 12-31-2015 09:59 AM
Inserting characters in Equation Editor (Word 2013) gpr Word 3 08-26-2015 10:42 AM
Replace All -- inserting a space between two non-consistent characters Non-breaking space and similar characters gpr Word 2 07-10-2015 06:44 AM
Space between number and heading - how to make it consistent for larger numbers Dr Wu Word 4 05-09-2013 08:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:54 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