extract e-mail addresses from body of etxt file
Posted: Fri Apr 04, 2003 8:49 am
Hi, is there a way to use TextPad to extract e-mail addresses
from the body of a plain text file?
from the body of a plain text file?
forums.textpad.com
https://forums.textpad.com/
Albert,albert lee wrote:Hi, is there a way to use TextPad to extract e-mail addresses from the body of a plain text file?
Code: Select all
\<[-a-zA-Z0-9_\.]+@\([-a-zA-Z0-9_]+.\)+Thanks for your inputs, Stephan. Happy Rubying!I know of no way to extract the emails from a file (and insert them soewhere else). But you can extract the lines containing the addresses and copy them by using the "Mark all" button from the find dialog box... ...
No one can answer that but you. It depends on the content of the document you are looking at. If there are never an other instances of "@" you may be OK. If the line continues and wraps you will have to allow for that. If desired address witll always start with "From:", you could search for that vs. "@", but again, will there ever be any other instances of "From:" that don't apply.Or something that went like that?