Course contentsShow
JavaScript
Lesson 160 of 2,7235. StringsPro lesson

search() with Regular Expressions

Use search() to find the index of the first match for a regex pattern in a string.

This lesson is for subscribers

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