Skip to content

Social Security Numbers (SSN) #21

Open
@GeekMasher

Description

@GeekMasher

Name / Description

Social Security Numbers

Sample Snippets

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

[optional] Propose Solution

[0-9]{3}-[0-9]{2}-[0-9]{4}

Before pattern:

\A|[^0-9-]

After pattern:

\z|[^0-9-]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions