title: regular expression in django for urls
body: <p>What I am trying to do is as follows</p>
  
  <p>I have urls like this <code>/blog/1/sdc/?c=119</code> or <code>/forum/83/ksnd/?c=100</code> What I want to do is to redirect these to a view, so that I can change the url to <code>/blog/1/sdc/#c119</code></p>
  
  <p>One way would be to do this is to make provision in views of each of the app, where such a url maybe generated, but that is not scalable. What I want to do is to catch any url that has <code>?c=&lt;some_digit&gt;</code> at the end and redirect to my custom view.</p>
  
  <p>Can anybody help, I am not good with regex.</p>