title: Using regular expression in Django templates
body: <p>I wonder if it is possible using regular expression in Django templates:</p>
  
  <pre><code>&lt;a href="#{{form.deal_template_name.value}} ????" data-toggle="tab"&gt;{{form.deal_template_name.value}}&lt;/a&gt;
  </code></pre>
  
  <p>I would like to replace both spaces and dot's with _. (Otherwise the link would have trouble with the target)</p>
  
  <pre><code>{{form.deal_template_name.value}}
  
  .replace(/ /g,"_").replace(/\./g,"_")
  </code></pre>
  
  <p>How to do that though in template directly, is that possible?</p>