RegExp.test

bool test (String text)

Parameters

text The string to match.

Description

Execute a regular expression, and return true if there is a match.