use format regex from revalidator as a starting point