Regular Expression

((\d{5})(-\d{4})?)

Tags: postal, us