Skip to content

Instantly share code, notes, and snippets.

@godrix
Created February 15, 2023 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save godrix/10e77838f651615d8c489f298ea8e2c2 to your computer and use it in GitHub Desktop.
Save godrix/10e77838f651615d8c489f298ea8e2c2 to your computer and use it in GitHub Desktop.
function isExponentPushToken(str) {
const regex = /^ExponentPushToken\[[A-Za-z0-9_-]{22}\]$/;
return regex.test(str);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment