Wildcard finding and replacing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to get an email list out of this file below(the below file is actually 6 pages long)… i.e., each instructors name followed by “@sln.suny.eduâ€

So for example (e-mail address removed), (e-mail address removed), etc.,etc.,etc

There is a clever way to do do this in Word with find and replace and wildcards. I have done it before, but I can’t figure it out. Could anyone please help me. Thank you in advance it is greatly appreciated

(212034) Business Mathematics (01/12/2004-04/23/2004): Susan Webber (SUNY Empire State College) (271104) Algebra (01/12/2004-04/23/2004): Marj Robison (SUNY Empire State College) (271104) Algebra (SL2) (01/12/2004-04/23/2004): Leighann Nastasia (SUNY Empire State College) (MTH165-SL2) College Algebra (SL2) (09/02/2003-12/18/2003): Donna Petrie (Monroe Community College) (MTH175-SL1) Pre Cal Anl Geo (09/02/2003-12/18/2003): Jannette Avery (Monroe Community College) (SX017-OLB) Retail Math:Merchandise Planning and Gross Margin (SL2) (11/03/2003-12/13/2003) (Postponed This Term): Deborah Friedman (Fashion Institute of Technology
 
Hi Edwin,

In the Find what control, enter

(: )([A-z]{1,}) ([A-z]{1,})

and in the Replace with, enter

\1\2.\[email protected]

To learn more about this, see the article “Finding and replacing characters
using wildcards” at:

http://word.mvps.org/FAQs/General/UsingWildcards.htm


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
Back
Top