title: Removing "www." from search query
body: <p>Currently I'm removing <code>https://</code> and <code>http://</code> with following code:</p>
  <pre><code>$r=\Input::get('searchQuery');
          
          $Query = preg_replace( &quot;#^[^:/.]*[:/]+#i&quot;, &quot;&quot;, $r);
          $Query=rtrim($Query, &quot;/&quot;);
  </code></pre>
  <p>I need to remove <code>www.</code> as well. What should I add to the code inorder to remove <code>www.</code>
  <br>Eg: When I search for <code>https://www.example.com/</code> It should only search for <code>example.com</code></p>