Match the Same String Twice with Backreferences in Regular Expressions

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
~ 7 years ago

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