Can someone show me a sample RegEx for an email address and how to use in in Objective-C?
Looking for something that fits: name@place.something
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As featured on: http://github.com/benofsky/DHValidation
Or add the http://regexkit.sourceforge.net/RegexKitLite/ to your project and do the regex yourself like above.
Also to reply to the issue of checking if an e-mail address is actually real, not just works with regex you could use some service like: http://verify-email.org/register/levels.html
Please note this answer doesn’t take into account the newer length TLDs such as .online; to include those update the final {2,4} to be {2,63}