Description
Tests whether a pattern exists in a string.
Syntax
rgexp.test(str)
Parameters
Returns
The test method checks to see if a pattern exists within a string and returns true if so, and false otherwise.