Javascript Validation
Javascript Validation
HTTP Response
JavaScript Application
Validation Validation
test( )
method on regexObject
returns boolean
regex.test(String)
false if no matches are found in String, true otherwise
argument is a String
Example Regular Expression
Test to see if text is a number
Returns true if number, false otherwise
Does the text match the pattern?