Removing word + wildcard number from string
<p>I have a string that is</p>

<pre><code>$str = "testingSUB1";
</code></pre>

<p>How can I strip out <code>SUB*</code> from the string? I assume using <code>preg_replace</code> but I'm not good with matching what I want with regex.</p>

<p>Does anyone know how I can do this?</p>

<p>Thank you</p>
