1.

How Regexp.test Method Works?

Answer»

The Test method takes a STRING as its argument and RETURNS TRUE if the regular EXPRESSION can successfully be matched against the string, otherwise FALSE is returned.

The Test method takes a string as its argument and returns True if the regular expression can successfully be matched against the string, otherwise False is returned.



Discussion

No Comment Found