title: How to replace all special characters except for underscore and numbers in java?
body: <p>I want to replace all special characters from the string object BusDetails below with a blank "" except for _(underscore) and numbers in java ? </p>
  
  <pre><code>BusDetails=BusDetails.replaceAll("&amp;#151;", "").replaceAll("\\s+","_").replaceAll("ROUTE", "BUS").replaceAll("-", "_");
  </code></pre>