title: how to remove tokens that contains number followed by character using regular expression in python?
body: <p>As the question says, how do I replace a token like <code>'23abc'</code> with <code>''</code> using regular expression in python. It shouldn't affect for characters tokens like 'hello','jimmy','trip','travel' etc.</p>
  
  <p>my code:</p>
  
  <pre><code>import re
  str="23abcd"
  print re.sub(r"[0-9a-z]","",str)
  </code></pre>
  
  <p>But the code doesn't work if str like 'hello' are passed. It still replaces with <code>''</code>. Please help. Thanks.</p>