How can I get the program below to reject all characters except numbers and these symbols (-, =, +, *, /, %)