Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
var re = /[789]\d{9}$/;
re.test(9876543210);
re.test(8765432109);
re.test(7654321098);
re.test(6543210987);
re.test(5432109876);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment