title: Check if URL contains parameter in Javascript
body: <p>I have this string , </p>
  
  <pre><code>var someStr = "http://test.com:4023/somespace/fewusers?LogicalId=lid%3A%2F%2Fkpr.social.1
  &amp;kprThemeName=kprBlue&amp;kprCurrentLocale=en-US&amp;kprCurrentLanguage=en-US
  &amp;kpr10spaceShell=1&amp;kprspaceVersion=10.34.0&amp;kprStyle=0.0";
  </code></pre>
  
  <p>In a js file I want to check if <code>someStr</code> contains <code>LogicalId=lid%3A%2F%2Fkpr.social.1</code>.</p>
  
  <p>I am finding it difficult to write a <code>regx</code> for this. Any suggestions?</p>