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

Numbered Backreferences in Patterns

Reference previously captured groups within the same regex using \1, \2, etc. to match repeated text.

This lesson is for subscribers

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