title: Making sure a url parameter is not present, using regex
body: <p>I need 2 regular expressions that I will use in MySQL</p>
  
  <ul>
  <li><p>OK if one of the url parameters equals something (e.g page_id=5)<br>
  I came up with this: <code>^https?:.*[?&amp;]page_id=5([#&amp;].*)?$</code></p></li>
  <li><p>OK if a certain parameter is not present in the url (e.g do not match <code>[?&amp;]page_id=</code>)<br>
  <strong>This is the one I need help with.</strong></p></li>
  </ul>
  
  <p>This functionality is part of a bigger problem that does need to be implemented with regular expressions and they have to be compatible with MySQLs RLIKE</p>