How would you check if a string is a valid hexadecimal code? -- Posted via http://www.ruby-forum.com/.