Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2019, 01:15 AM
yehhanyos yehhanyos is offline How can I remove unnecessary spaces before punctuation marks? Windows 7 64bit How can I remove unnecessary spaces before punctuation marks? Office 2013
Novice
How can I remove unnecessary spaces before punctuation marks?
 
Join Date: Sep 2019
Posts: 2
yehhanyos is on a distinguished road
Default How can I remove unnecessary spaces before punctuation marks?

Here's a picture to better demonstrate the issue. For what it's worth, the text is Arabic (right to left).




Last edited by Charles Kenyon; 09-08-2019 at 05:34 AM. Reason: Mark as solved
Reply With Quote
  #2  
Old 09-07-2019, 09:19 AM
Charles Kenyon Charles Kenyon is online now How can I remove unnecessary spaces before punctuation marks? Windows 10 How can I remove unnecessary spaces before punctuation marks? Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,083
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

  • Don't type the spaces (easiest method)
  • Use Find and replace to replace [space]punctuation for each punctuation mark
Reply With Quote
  #3  
Old 09-07-2019, 11:01 AM
yehhanyos yehhanyos is offline How can I remove unnecessary spaces before punctuation marks? Windows 7 64bit How can I remove unnecessary spaces before punctuation marks? Office 2013
Novice
How can I remove unnecessary spaces before punctuation marks?
 
Join Date: Sep 2019
Posts: 2
yehhanyos is on a distinguished road
Default

I didn't type anything, It's a translation(.srt file) for a video, and I found it that way.

Anyway, I had already tried that method you pointed out, but it wouldn't work with the "quotation marks", as it would remove the space after AND before the quotation marks, which would result in no space at all around the quoted word

previous word " example " next word = previous word"example"next word

Also for some reason, for the below instances, where a full stop isn't the last thing in a line, that find&replace command removes BOTH spaces around the full stop, even though I only type one space in the find field

هذا أنت . أعتقدنا أنك
becomes
هذا أنت.أعتقدنا أنك

Edit: Okay, I figured and sorted this part(in grey) out. (Word treats the Arabic full stop differently than the English one! That's why the replace thing didn't work properly).

Now I'll just replace inside the " quotes
" with "quotes", each occurrence at a time.

Last edited by yehhanyos; 09-07-2019 at 07:32 PM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me, remove the marks occur at begin and last paragraph ngocanhwdn Word 6 06-25-2019 07:57 AM
How can I remove unnecessary spaces before punctuation marks? How to delete all the punctuation marks from a paragraph? Jamal NUMAN Word 3 02-26-2019 02:33 PM
How to remove spaces from Cells which are at the end of value? LearnerExcel Excel 2 12-19-2016 01:10 PM
Replacing punctuation marks with footnotes nufc89 Word 2 05-22-2015 03:15 PM
editing text and remove spaces romanticbiro Word VBA 5 07-04-2014 07:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:44 PM.


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