Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2011, 04:20 PM
Jamal NUMAN Jamal NUMAN is offline How to delete all the punctuation marks from a paragraph? Windows XP How to delete all the punctuation marks from a paragraph? Office 2007
Expert
How to delete all the punctuation marks from a paragraph?
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Question How to delete all the punctuation marks from a paragraph?

How to delete all the punctuation marks from a paragraph?

i need to remove all the punctuation marks (comma, points, question marks, back slash, stars, etc.) from certain paragraphs.

is there any macro that can do this kind of work for the selected paragraph?

regards



Jamal
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
  #2  
Old 07-11-2011, 04:56 AM
macropod's Avatar
macropod macropod is offline How to delete all the punctuation marks from a paragraph? Windows 7 64bit How to delete all the punctuation marks from a paragraph? 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

Hi Jamal,

Use a wildcard Find/Replace, where:
Find = [,.;:’””"/\!\*\?\\]
Replace = nothing
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-26-2019, 02:31 PM
kilroy kilroy is offline How to delete all the punctuation marks from a paragraph? Windows 10 How to delete all the punctuation marks from a paragraph? Office 2016
Competent Performer
 
Join Date: Sep 2016
Location: Southern Ontario
Posts: 118
kilroy is on a distinguished road
Default

Works great
Reply With Quote
  #4  
Old 02-26-2019, 02:33 PM
macropod's Avatar
macropod macropod is offline How to delete all the punctuation marks from a paragraph? Windows 7 64bit How to delete all the punctuation marks from a paragraph? 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

What probably happened is that the smart quotes got converted to plain quotes. Plus the plain double-quote in the expression would have to be replaced with, for example, Chr(34).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't delete paragraph mark at end of document kb Word 10 10-06-2017 02:32 PM
How to delete all the punctuation marks from a paragraph? Hide paragraph format marks Cara Word 2 04-07-2011 10:26 AM
delete email message via blackberry and have it delete on my pop3 and my outlook Iamthestorm Outlook 2 10-28-2010 12:21 AM
How to delete all the punctuation marks from a paragraph? What do these marks mean? Jenjen80 Word 1 07-22-2010 07:08 AM
Formatting Marks Drew Outlook 0 12-08-2009 12:46 PM

Other Forums: Access Forums

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