Report question

Question: Javascript replace matched group