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

Accessing Captured Values with exec()

Use regex.exec() to retrieve an array containing the full match and all captured group values.

This lesson is for subscribers

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