title: How to remove numbers from string using PySpark's RegexTokenizer?
body: <p>I want to remove numbers with 5 or more digits from a DataFrame column using PySpark's RegexTokenizer. I was able to extract these numbers using the codes below but does anyone know how I can remove them instead?</p>
  
  <p>My code:</p>
  
  <pre><code>regexTokenizer = RegexTokenizer(inputCol="description", outputCol="tokenized_description", gaps=False,pattern="[0-9]{5,}")
  </code></pre>
  
  <p>If the string is "123abc 122323232", I want it to remove 122323232 and becomes "123abc"</p>