I know that
^\d{5}(-\d{4})?$
would validate US zip codes.
Is there a way to extend this further to just allow zip codes for a specific state, for example allowing only zip codes that begin with "95"
I know that
^\d{5}(-\d{4})?$
would validate US zip codes.
Is there a way to extend this further to just allow zip codes for a specific state, for example allowing only zip codes that begin with "95"