Regex pack·Free
Secret and token formats
17 patterns for the token formats of Slack, Stripe, OpenAI, npm, GitLab and other services, for checking your own code before you commit it. Look at each match yourself, and don't take an empty result as proof that the file is clean.
Free to install.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
3 of 17
(?-i)\bxox[abposr]-\d{6,15}-[A-Za-z0-9-]{8,250}Slack token (xoxb-, xoxp- and others)
(?-i)\bhttps://hooks\.slack\.com/services/T[A-Z0-9]{6,15}/B[A-Z0-9]{6,15}/[A-Za-z0-9]{16,40}\bSlack incoming webhook URL
(?i)\bhttps://(?:(?:ptb|canary)\.)?discord(?:app)?\.com/api/webhooks/\d{15,22}/[\w-]{40,100}Discord webhook URL
Changes in 1.0.0
First version.