matches¶
Returns a Boolean value after match of a regular expression against a string. See Regular Expressions in JavaScript Guide for more details about how to write a regular expression pattern.
See also replace.
Examples¶
$('VarName').matches(/yes/)