title: preg_match: return entire url by matching a word inside it
body: <p>If I have texts containing:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;h1&gt; Test &lt;/h1&gt;
  &lt;some html elements&gt;
  &lt;a href="www.example.com/test?abc=xxxx&amp;def=yyyy&amp;ghi=zzzzz"&gt;&lt;/a&gt;
  &lt;more html elements&gt;
  </code></pre>
  
  <p>How to preg_match by matching a word having "abc=xxxx" so I get:</p>
  
  <pre class="lang-html prettyprint-override"><code>www.example.com/test?abc=xxxx&amp;def=yyyy&amp;ghi=zzzzz
  </code></pre>