Created
January 20, 2025 03:36
-
-
Save christian-taillon/cef2f1ae046dcff6d2387d22e1eb8dac to your computer and use it in GitHub Desktop.
regex pattern for use with tokenGaurd.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "credit_card": "\\b\\d{4}[-\\s]?\\d{4}[-\\s]?\\d{4}[-\\s]?\\d{4}\\b", | |
| "custom_email": "\\b[A-Za-z0-9._%+-]+@company\\.com\\b", | |
| "zip_code": "\\b\\d{5}(?:-\\d{4})?\\b" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment