webpro 31 Posted March 8, 2014 Report Share Posted March 8, 2014 Ok i give up lol Here's an example of what i'm trying to grab scott.whatever@gmail.com,,,2,"2014-02-06 20:37",213.179.194.28,"2014-02-06 20:38:16",68.59.145.62,28.5459000,-81.1812000,-5,-4,America/Kentucky/Monticello,US,FL,"2014-02-06 20:38:16",67820893,6533b82d1 traffica@come-tree.com,,,2,"2013-08-24 20:13",24.102.145.2,"2013-08-24 20:15:19",24.102.145.2,40.6532000,-75.3368000,-5,-4,America/New_York,US,PA,"2013-08-24 20:15:19",58791193,612cf510a pswhatever@live.com,,,2,"2013-08-29 13:00:13",94.7.47.112,"2013-08-29 13:00:46",94.7.47.112,,,,,,,,"2013-08-29 13:00:46",58988569,355d20c24 I only need the emails Here's what i came up with (.*@(?<=@).\w+.\w+) It grabs everything, excepttraffica@come-tree.comemails with a "-" or any special characters after the @ (i guess) are not picked up ? ThaNKS Quote Link to post Share on other sites
UBotDev 276 Posted March 8, 2014 Report Share Posted March 8, 2014 Try something like: \b[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,4}\b Quote Link to post Share on other sites
Steve 30 Posted March 8, 2014 Report Share Posted March 8, 2014 I was going to suggest using the list scraper command from Aymen's http post plugin, but I just tested it and realized that it has the same issue that you were having with the "-". Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted March 8, 2014 Report Share Posted March 8, 2014 or my 2 cents .*@.*?\.*?(?=,) Quote Link to post Share on other sites
abbas786 78 Posted March 9, 2014 Report Share Posted March 9, 2014 Ok i give up lol Here's an example of what i'm trying to grab scott.whatever@gmail.com,,,2,"2014-02-06 20:37",213.179.194.28,"2014-02-06 20:38:16",68.59.145.62,28.5459000,-81.1812000,-5,-4,America/Kentucky/Monticello,US,FL,"2014-02-06 20:38:16",67820893,6533b82d1 traffica@come-tree.com,,,2,"2013-08-24 20:13",24.102.145.2,"2013-08-24 20:15:19",24.102.145.2,40.6532000,-75.3368000,-5,-4,America/New_York,US,PA,"2013-08-24 20:15:19",58791193,612cf510a pswhatever@live.com,,,2,"2013-08-29 13:00:13",94.7.47.112,"2013-08-29 13:00:46",94.7.47.112,,,,,,,,"2013-08-29 13:00:46",58988569,355d20c24 I only need the emails Here's what i came up with (.*@(?<=@).\w+.\w+) It grabs everything, excepttraffica@come-tree.comemails with a "-" or any special characters after the @ (i guess) are not picked up ? ThaNKS Try this one. ([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9}) Quote Link to post Share on other sites
webpro 31 Posted March 9, 2014 Author Report Share Posted March 9, 2014 Thanks guys it works now. This one ([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9}) Couldn't grab emails like this one below.blueadder5+mmo@gmail.comthe "+" sign wasn't getting scrapped. These are working fine: .*@.*?\.*?(?=,) and \b[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,4}\b Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.