Page 1 of 1

Little reular expression problem

Posted: Mon Feb 19, 2007 6:24 am
by eshban
Hello,

I need a regular expression, which reads a text file and stores all the Email addresses found in TEXTFILE in a variable.

Kindly guide me in this regard.

Thank

Posted: Mon Feb 19, 2007 7:39 am
by feyd
You can use the RFC compliant one that's been posted about many times with preg_match_all().