title: JS replace not working on string
body: <p>Trying to replace all instances of # in a string with a variable. It's not working but not retuning any error either.</p>
  
  <pre><code>answer_form = '&lt;textarea name="answer_#" rows="5"&gt;&lt;/textarea&gt;'+
                '&lt;input type="file" name="img_#" /&gt;';
  
  question_num = 5;
  
  answer_form.replace(/#/g, question_num); 
  </code></pre>
  
  <p>The hashes remain.</p>
  
  <p>Not sure what I'm missing?</p>