View Single Post
 
Old 02-09-2025, 11:44 PM
WJSwanepoel WJSwanepoel is offline Windows 10 Office 2021
Advanced Beginner
 
Join Date: Dec 2019
Location: Krugersdorp, South Africa
Posts: 82
WJSwanepoel is on a distinguished road
Question Picking up trailing space before quotation mark

I have document where the closing quotation mark is preceded by a space. I need to remove that space. However I cannot search for a space followed by the quotation mark and do a global replace, because the opening quotation mark is always preceded by a space.

How can I do the correction using wildcard search and replace?

The document contains too many of these to make manual replacements feasible.

Example:
This is simply a "political agenda ".
Must become:
This is simply a "political agenda".

I also need to mention that the "closing" quotation mark is actually an "opening" quotation mark i.e. a ^0147 rather than a ^0148.
This is simply a ^0147political agenda ^0147.
Must become:
This is simply a ^0147political agenda^0148.

Last edited by WJSwanepoel; 02-10-2025 at 12:05 AM. Reason: To give more clarity
Reply With Quote