EASY: function to clean e-mail addresses
Posted on 2004-07-30
I'm trying to take an e-mail address, remove any invalid characters from it, and make it lower case.
the e-mail is a std::string. What is the easiest way to perform this operation? (I think the only valid symbols in an e-mail are - _ . and @)