Suresh Behera

The Microsoft .Net Junkies

News

Blogroll

Reading

JavaScript regular expression to validate SSN.

Nice to Regular expression.

var RE_SSN = /^[0-9]{3}[\- ]?[0-9]{2}[\- ]?[0-9]{4}$/;

JavaScript Tutorial: Regular Expressions

Thanks,

Suresh

Posted: Oct 08 2008, 03:45 PM by Suresh Behera | with no comments
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)