Report question

Question: How to pass a variable into regex in jQuery/Javascript