Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-30-2013, 03:21 PM
Chayes Chayes is offline Find all email addresses in word document and delete Windows XP Find all email addresses in word document and delete Office 2003
Advanced Beginner
Find all email addresses in word document and delete
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You should be able to use a wildcard Find/Replace, where:
Find = <[0-9A-Za-z.]{1,}\@[!. ]{1,}.*>
Replace = nothing
No code required. Of course, if you're doing this regularly, simply record the above as a macro.
Hi Paul

Ok thanks for that. it works like a dream and clears all the email addresses out. Brilliant.

Just A FYI - It did miss one email address which has an underscore in it , but I was able to remove it manually. It only removed the text after the underscore.



Best Wishes


Colin
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find all email addresses in word document and delete simpler way to delete a particular page in a Word document??? tinfanide Word VBA 9 02-15-2019 02:12 PM
Selective Find and Replace in addresses Chayes Word 2 06-16-2012 04:21 PM
Can't delete word document Sparky Word 1 04-18-2012 12:20 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 Many Email Addresses Can You email at one time in Outlook zinfandel72 Outlook 2 08-04-2008 06:39 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:39 PM.


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