PDA

View Full Version : Split Emails



boshkash
04-22-2008, 11:12 PM
How can i split email adresses from text file or string for example this is a string which contans many email adresses.

"first email is 1@site.com ,second is 2@site.com and the third is 3@site.com and we can suppose there are many other words"

i want to split emails from this paragraph to have this result :


1@site.com
2@site.com
3@site.com

thank you!

mwreyf1
04-23-2008, 10:08 PM
Try this...from the help file

This is assuming they are delimited in some way. In this case a ","

TimeSurfer
04-24-2008, 01:55 AM
use regex =p its included in lua or search forums for my free regxmatch dll:cool

Lorne
04-24-2008, 09:31 AM
http://imgs.xkcd.com/comics/regular_expressions.png

:)