title: Sanitizing a string in Perl
body: <p>I'm reading an excel(<code>.xlsx</code>) file (using module <code>Spreadsheet::XLSX</code>) and getting values like : <code>Iron/ Steel.Â </code></p>
  
  <p><strong>Problem</strong>: The characters <code>Â</code> and <code></code> are not (visible) in the excel file. The rightmost character <code></code> looks like a white space but isn't as I tried the regex <code>/\s+$/</code> which didn't work. </p>
  
  <p>Please help how I can clean this string. I want only those characters in my string which are on general English keyboards, i.e., <code>A-Z, 0-9, ~!@#$%^&amp;*()_+=-</code> `  <code>,./';[]\|}{:"?&gt;&lt;</code> etc.</p>