How to change param in url with preg_replace : <p>i have list tag li</p>

<pre><code>&lt;li data-src="http://localhost/project/?coupon=asKSawe&amp;type=1"&gt;&lt;/li&gt;
&lt;li data-src="http://localhost/project/?coupon=adTeLw&amp;type=1"&gt;&lt;/li&gt;
&lt;li class="item-li" data-src="http://localhost/project/?coupon=12Dffr&amp;type=1"&gt;&lt;/li&gt;
&lt;li class="item-li" data-src="http://localhost/project/?coupon=dldpOO2&amp;type=1"&gt;&lt;/li&gt;
&lt;li class="item-li" data-src="http://localhost/project/?coupon=MMok231&amp;type=1"&gt;&lt;/li&gt;
&lt;li data-src="http://localhost/project/?coupon=xC41k23&amp;type=1"&gt;&lt;/li&gt;
</code></pre>

<p>how to use preg_replace to change coupon to strtoupper, with only coupon, result i hope</p>

<pre><code>&lt;li data-src="http://localhost/project/?coupon=ASKSAWE&amp;type=1"&gt;&lt;/li&gt;
&lt;li data-src="http://localhost/project/?coupon=ADTELW&amp;type=1"&gt;&lt;/li&gt;
&lt;li class="item-li" data-src="http://localhost/project/?coupon=12DFFR&amp;type=1"&gt;&lt;/li&gt;
&lt;li class="item-li" data-src="http://localhost/project/?coupon=DLDPOO2&amp;type=1"&gt;&lt;/li&gt;
&lt;li class="item-li" data-src="http://localhost/project/?coupon=MMOK231&amp;type=1"&gt;&lt;/li&gt;
&lt;li data-src="http://localhost/project/?coupon=xC41K23&amp;type=1"&gt;&lt;/li&gt;
</code></pre>

<p>thank you!</p>
