finding a pattern in string python
<p>I have a very  noisy string input and I am trying to clean it..</p>

<p>So, a part of the noisy string can be something like:</p>

<pre><code>"big $price chair, 5x10"
</code></pre>

<p>Now removing symbols and other stuff are done!
But I also want to remove</p>

<pre><code>  5x10
</code></pre>

<p>for this I did this:</p>

<pre><code> def remove_numerics(self,string):
    return ' '.join([term for term in string.split() if not term[0].isdigit()])
</code></pre>

<p>Which solved this case</p>

<p>but if my string is:</p>

<pre><code>    "big $price chair, x10"
</code></pre>

<p>Then it fails?
what is a good pythonic way to solve this case also.
many thanks.</p>
