Course contentsShow
JavaScript
Lesson 1666 of 2,72336. Regular ExpressionsPro lesson

Testing for Matches with test()

Using the test() method to check if a pattern exists in a string, returning true or false.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.