add code for two validation validateAlphaNumericNospace and validateAlphaNumericWithspace