Skip to content

Instantly share code, notes, and snippets.

@gabrielsaints
Created July 2, 2019 19:21
Show Gist options
  • Save gabrielsaints/854784ddbda4f73a0a666f8d4e6c3c10 to your computer and use it in GitHub Desktop.
Save gabrielsaints/854784ddbda4f73a0a666f8d4e6c3c10 to your computer and use it in GitHub Desktop.
Validador de CEP por regex
/([0-9]{5}[-])([0-9]){3}$/.test('17055-175')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment