$ 0 0 The following regex expression is used to validate the phone number in the format 999-999-9999 errors = List:String(); e = input.no; if(e.matches(“[0-9]{3}-[0-9]{3}-[0-9]{4}”)== false) { errors.add(“Number format is not correct”); } …