Below given regex is for pincode extraction from a string of USA pincode
\\W(\\d{5}([-]?\\d{4})?)\\W
\\W(\\d{5}([-]?\\d{4})?)$