Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 05-30-2013, 06:51 PM
macropod's Avatar
macropod macropod is offline Find all email addresses in word document and delete Windows 7 32bit Find all email addresses in word document and delete Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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

To give you a hand:
< refers to the start of a word
[0-9A-ÿ.\-]{1,} (used twice) refers to a string of any length containing the specified range of characters
@ is an obvious requirement for an email address
([^13 -/\:-\@\\-`\{-¿]) says to tag whatever the first character is after the email address, which could be any punctuation character, a space, paragraph break, etc. (I got lazy and didn't bother excluding some non-punctuation characters)
\1 tells the replacement to use the first tagged Find expression.

I'll leave it to you to figure out the rest
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
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 08: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