how to remove the particular string using preg match in php
<p>I need to remove the <code>v.</code> from the vairable how can i do that ?</p>

<pre><code>$variable='v.vm_name,p.companyid';
</code></pre>

<p><strong>Expected Output</strong></p>

<pre><code>$variable='vm_name,companyid';
</code></pre>

<p>how can i achive this using preg_match or preg_replace something.</p>

<p>The value will be dynamic something like this </p>

<pre><code> $variable='b.vm_name,tt.companyid';
</code></pre>