Python and regex - how to find anytext_NUMBER_svm.pkl
<p>I have file names that are in this format.</p>

<pre><code>anytext_NUMBER_svm.pkl
</code></pre>

<p>I need to loop thourgh all files in a dir and file files that look like this:</p>

<pre><code>file1.txt
file2.txt
anytext_1_svm.pkl
anytext_2_svm.pkl
anytext_3_svm.pkl
</code></pre>

<p>The matched files will be this:
    anytext_1_svm.pkl
    anytext_2_svm.pkl
    anytext_3_svm.pkl</p>

<p>How to I use python regex to do this?</p>

<p>Thanks</p>
