Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Check hexadecimal character codes in Java String

  •  03-31-2008, 3:30 AM

    Check hexadecimal character codes in Java String

    Hello,

     I try to check hexadecimal character codes according to this specification : "Only allow characters which hexadecimal code is between 20 and 7E".

     I tried this : myString.matches("[\\x20-\\7E]"); but it doesn't work.

     Any idea ?
     

View Complete Thread