title: REGEX: url with any query param OR url with any query param and an especific hash
body: <p>I need to make a regex to cover the following:</p>
  
  <p>domain/path/<strong>?anything</strong> --> YES</p>
  
  <p>domain/path/<strong>?anything</strong>#/<em>specificHash</em> --> YES</p>
  
  <p>domain/path/<strong>?anything</strong>#/otherHash --> NO</p>
  
  <p><strong>My try</strong>: I have made this regex excluding otherHashs:</p>
  
  <p>domain/path/?(?!.*(otherHash1|otherHash2|otherHash3))</p>
  
  <p>It works, but there are a lot of them... I want to make it easier just including my <em>specificHash</em> </p>
  
  <p>Thanks in advance</p>