Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
search email adresses in word document
How do I search for and select all the email addresses in a word document?
I want to copy just the email addresses into a new word document. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
search email adresses in word document
The search tool will work fine for this. Use the find routine (CTRL+F) to
find [a-zA-Z0-9\-_.]{1,}\@[a-zA-Z0-9\-_.]{1,} with the wildcards box and the highlight all found entries box checked. The e-mail addresses will be highlighted. Close the find dialog. Then copy to the clipboard. Open a new document and paste. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org JLal wrote: How do I search for and select all the email addresses in a word document? I want to copy just the email addresses into a new word document. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
search email adresses in word document
A couple of additions:
1. Even if you have other hyperlinks in the document, the email addresses may have the format { HYPERLINK "Mailto: " }. If so, you can isolate those by searching for ^19 HYPERLINK "Mailto: Note that you must have field codes displayed for this to work. 2. A quick way to convert text-only email addresses to hyperlinks is to run AutoFormat over the document with "Internet and network paths with hyperlinks" checked. This method does convert the addresses to the { HYPERLINK "Mailto: format. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "CyberTaz" typegeneraltaz1ATcomcastdotnet wrote in message ... One option: If you're using Word 2003 and the email addresses are formatted as hyperlinks - and there are no other hyperlinks - go to EditFind. Do not type anything into the "Find what:" field. Put a check in the "Highlight all items found in:" box (make sure it's set for Main Document), then click the MORE button. Open the Format list & choose Style, then select Hyperlink from the Style list. After clicking Find All, close the Find dialog box, copy the selected hyperlinks, then paste into a new blank doc. You should get a list of the email addresses when you paste. If you're using Word 2007 the process is almost the same. The Find feature is located on the HOME tab, and instead of a Find All button you click the "Find In:" button & choose Main Document there. When you do, all hyperlinks in the doc will be selected. Also, once you close the box & copy/paste the links they get pasted into the other doc as plain text rather than live hyperlinks. If you want them as active links you can use the Format Painter in the original doc to copy the Hyperlink formatting, then select all the links in the new doc to format them - or you can just select them in the new doc & apply the Hyperlink style. -- HTH |:) Bob Jones [MVP] Office:Mac "JLal" wrote in message ... How do I search for and select all the email addresses in a word document? I want to copy just the email addresses into a new word document. |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
search email adresses in word document
One option:
If you're using Word 2003 and the email addresses are formatted as hyperlinks - and there are no other hyperlinks - go to EditFind. Do not type anything into the "Find what:" field. Put a check in the "Highlight all items found in:" box (make sure it's set for Main Document), then click the MORE button. Open the Format list & choose Style, then select Hyperlink from the Style list. After clicking Find All, close the Find dialog box, copy the selected hyperlinks, then paste into a new blank doc. You should get a list of the email addresses when you paste. If you're using Word 2007 the process is almost the same. The Find feature is located on the HOME tab, and instead of a Find All button you click the "Find In:" button & choose Main Document there. When you do, all hyperlinks in the doc will be selected. Also, once you close the box & copy/paste the links they get pasted into the other doc as plain text rather than live hyperlinks. If you want them as active links you can use the Format Painter in the original doc to copy the Hyperlink formatting, then select all the links in the new doc to format them - or you can just select them in the new doc & apply the Hyperlink style. -- HTH |:) Bob Jones [MVP] Office:Mac "JLal" wrote in message ... How do I search for and select all the email addresses in a word document? I want to copy just the email addresses into a new word document. |
#5
|
|||
|
|||
I googled for an answer about this, it was actually some thread with an Italian guy that I initially found and even though the help also mention this exact method with {1,} I got an error. After a lot of trying I remembered helping my boss with a similar problem in Excel. Everything on the internet said to use , but it wouldn't work. When exchanging , with ; instead it worked just fine!
So if you're in a country where you use cm, m, kg, and comma instead of decimal point you may have to use ; instead of , it seems Word is nice enough to interpret the comma there as decimal point... Kind of sucks though that the help, in Swedish, doesn't mention this at all. Running Windows and all software in English instead would solve so many problems a lot quicker. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to disbale automatic underlining of eMail adresses in Word 2003 documents ? | New Users | |||
Email adresses | Microsoft Word Help | |||
howto search for a word in more than one *.doc (search in all doc's in a folder)? | Microsoft Word Help | |||
plait adresses to an letter | Microsoft Word Help | |||
how do I transfer adresses in excel to word letters? | Microsoft Word Help |