What is the method for determining whether an email or password matches a regular expression?
email.match(expression)
password.match(expression)
2 Likes
match() is used to compare the text with regular expression
1 Like
match(regular expression);
1 Like
The Match() method used for determining whether an email or password matches a regular expression
1 Like