Match the Same String Twice with Backreferences in Regular Expressions

Joe Maddalone
InstructorJoe Maddalone

Share this video with your friends

Send Tweet

Regular Expression Backreferences provide us a method to match a previously captured pattern a second time.

Shishir Arora
Shishir Arora
~ 4 years ago

what if var str = `<b>Bold<i>italics</i></b>`;