Updated code, allows the characters: - . any english letter and numbers