O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
The following is an excerpt from Javascript Cookbook. Sometimes you need to validate whether a text string is a valid U.S.-based Social Security number (the identifier the tax people use to ...