title: How to replace all numbers and "." by "" of a column in Dataframes spark scala
body: <p>How to replace all numbers and "." i.e All decimal numbers should be replaced by "") of a column in Dataframes spark scala</p>
  
  <p>Eg:<code>+56.5</code> or <code>-64.83</code> should get replaced by empty character which is ""</p>
  
  <p>I am following </p>
  
  <pre><code>regexp_replace(col("col1"),"\\+|\\-|\\.|0|1|2|3|4|5|6|7|8|9", "")
  </code></pre>
  
  <p>Is there any other better way of doing this</p>
  
  <p>Thanks</p>