What is the efficient way to find email addresses in a big text?

Posted by salman on Stack Overflow See other posts from Stack Overflow or by salman
Published on 2010-05-12T06:03:38Z Indexed on 2010/05/12 6:14 UTC
Read the original article Hit count: 211

Filed under:
|

I want to extract email addresses from a large text file. what is the best way to do it?

My idea is to find '@' in the text and use Regex to find email address into substring at (for example) 256 chars before this position and length of 512.

© Stack Overflow or respective owner

Related posts about regex

Related posts about text