background preloader

Open Source

Facebook Twitter

Comparing E-mail Address Validating Regular Expressions. Updated: 2/3/2012 Summary This page compares regular expressions that validate e-mail addresses in order to find the best one. The expression with the best score is currently the one used by PHP's filter_var(), which is based on a regex by Michael Rushton: The best one that's been verified to work in JavaScript is Arluison Guillaume's improvement of Warren Gaebel's regex: Introduction I was writing a web application and wanted to find a regular expression to validate user's e-mail addresses, but when I searched for one I found dozens of slightly different variations of the same expression. It's been about 5 years since I initially created this, and I think we've found a relatively solid answer, but if you know of an expression that tests better than the current one, or if you have some other feedback feel free to contact me.

Notes Detailed Results. Font Squirrel. Famfamfam.com: Home. 2379 Free Web Design Icons | IconsPedia. pHash.