Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

regexpCommon


Average rating
(0 votes)

Provides commonly used regular expressions.

someVar.match($.regexpCommon('numberInteger'));
someVar.match($.regexpCommon('numberFloat'));
someVar.match($.regexpCommon('email'));
someVar.match($.regexpCommon('ssn'));
someVar.match($.regexpCommon('url'));
someVar.match($.regexpCommon('phoneNumberUS'));
someVar.match($.regexpCommon('zipCodeUS'));
someVar.match($.regexpCommon('currencyUS'));
someVar.match($.regexpCommon('htmlHexCode'));
someVar.match($.regexpCommon('dottedQuadIP'));
someVar.match($.regexpCommon('macAddress'));

Example:
var quadIP = '127.0.0.1';
if (quadIP.match($.regexpCommon('dottedQuadIP')) ) {
message += quadIP + " is a Dotted Quad IP Address
";
}

Releases

Official releasesDateSizeLinksStatus
0.3.02008-Feb-201.87 KBRecommended for 1.0.xThis is currently the recommended release for 1.0.x.