Report question

Question: In Javascript, how can I perform a global replace on string with a variable inside '/' and '/g'?