Character validation for answers