Well done!

You have completed Comprehensive Guide to JavaScript Regular Expressions (Regex) !

Quiz Question 1 of 5

What is the result of the following code, considering the use of backreferences in the replacement pattern?

"122333".replace(/(\d)\1/g, "$1")

Choose the correct answer below:

Skip Quiz Review Instruction