corrected validate regex again