^(\d{4})(-|\/)(\d{1,2})\2(\d{1,2})$

Created with RegexBuddy