This is one way to do it, I would have used validate_re, but this works.