JavaScript
Last edited 5 March 2009
More by kim3er »
Sections:
Regular Expressions
Regular Expressions
var regEx = new RegExp(/^[a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$/);
regEx.test("
example@example.com
"); // true
The content on this page is provided by a
Google Notebook
user, and Google assumes no responsibility for this content.