Core Docs | Additional Modules Docs

String.prototype.regex


@Description: Used to match strings to common patterns
@File: String/prototype/regex.js
@Example:
alert('01/22/1977'.match(String.prototype.regex('mm/dd/yyyy'));