Is there a CF tag or a technique to search through a file, such as cfm, or even a text file, and find all occurances of an email address?
The string I'm look to identify goes like this:
E-mail address: email@example.com"
Note and save the email address which follows the colon and the space, to text file, eeach email address on a separate line. Filename is exported.cfm and is in the same directory as the code.
I thought of using CFHTTP and that's why I saved my exported file, exported.cfm, as a coldfusion .cfm file. But I don't have a clue if CFHTTP can seach, find and isolate an email address after a specific string, and save it, I guess, using CFFILE. But how, exactly?