Added regex's into the html inputs.