title: Regular expression to restrict Extended ASCII character set
body: <p>I have multi lingual application which creates xml files but Extended ASCII characters from 168 to 254 (¿⌐¬½¼¡«»░▓│┤╡╢╖╕╣║╗╜╛┐└┴┬├) are not supposed in XML tags so, I would like to restrict user from entering.</p>
  
  <p>I tried restricting everything besides alphanumeric, underscore and dash but it would not allow accented characters ó ç õ which are part of extended ASCII. Here is regx <code>"^[a-zA-Z0-9\s.\-_]+$"</code></p>
  
  <p>Second option was to create a string of all symbols from 168 to 254 and check if string contains any of them but not sure if it is reliable and accurate solution.</p>
  
  <p>What is best way to filter input for Extended ASCII character set ?</p>
  
  <p><a href="http://www.web-wise-wizard.com/programming/ascii-ibm-extended-character-set.html" rel="nofollow">Link</a> to Extended ASCII character set table</p>