We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Social Security Numbers
True Positives
123-45-6789
False Positives
Based on a real UK area code, giving the country code beforehand. We don't normally hyphenate phone numbers, but it does happen:
Hey, my phone number is +44-1642-00-0000
[0-9]{3}-[0-9]{2}-[0-9]{4}
Before pattern:
\A|[^0-9-]
After pattern:
\z|[^0-9-]
The text was updated successfully, but these errors were encountered:
The simplest before/after pair would be \A|[^0-9-] and \z|[^0-9-].
To deal with possible FPs it might make sense to extend it to \A|[^0-9A-Za-z-] and \z|[^0-9A-Za-z-].
\A|[^0-9A-Za-z-]
\z|[^0-9A-Za-z-]
Sorry, something went wrong.
GeekMasher
No branches or pull requests
Name / Description
Social Security Numbers
Sample Snippets
True Positives
False Positives
Based on a real UK area code, giving the country code beforehand. We don't normally hyphenate phone numbers, but it does happen:
[optional] Propose Solution
Before pattern:
After pattern:
The text was updated successfully, but these errors were encountered: