added StringValidation using regex