zip code is easy..
=~ /^\d{5}$/
....what format should the phone number be in?
You can use Email::Valid to check emails or a simple regex is:
=~ /^\S+@\S+\.\S+$/
=~ /^\d{5}$/
....what format should the phone number be in?
You can use Email::Valid to check emails or a simple regex is:
=~ /^\S+@\S+\.\S+$/