I want to extract email addresses from a large text file. What is the best way to do this?
My idea is to find the '@' in the text and use "Regex" to find the email address in the substring (for example) 256 characters before this position and 512 in length.
PS: Right, I want to know the best and most effective way to find some kind of template (for example, email addresses) in a huge text.
source
share