# pattern_lists

collection: Credit Cards
type: Discover Card
example: 6011123412341234, 6445678912345678
value:
  ^65[4-9][0-9]{13}|64[4-9][0-9]{13}|6011[0-9]{12}|(622(?:12[6-9]|1[3-9][0-9]|[2-8][0-9][0-9]|9[01][0-9]|92[0-5])[0-9]{10})$


collection: Credit Cards
type: Switch Card
example: 4903123412341234, 6333123412341234567
value:
  ^(4903|4905|4911|4936|6333|6759)[0-9]{12}|(4903|4905|4911|4936|6333|6759)[0-9]{14}|(4903|4905|4911|4936|6333|6759)[0-9]{15}|564182[0-9]{10}|564182[0-9]{12}|564182[0-9]{13}|633110[0-9]{10}|633110[0-9]{12}|633110[0-9]{13}$


collection: General
type: Date of Birth
example: 18-9-1999, 12-12-2000
value:
  \b(birth|birthdate|birthday|dob|born)\W+(?:\w+\W+){0,5}?(?<REDACT>(\d{4}|\d{1,2})[\/\-]\d{1,2}[\/\-](\d{4}|\d{1,2}))\b


collection: Network Patterns
type: CIDR Notation
example: 192.168.1.0/24, 10.0.0.0/8
value:
  \b((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))\b


collection: Network Patterns
type: URL
example: https://www.example.com, ftp.example.org
value:
  ([a-z]{3,6}?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)


collection: Network Patterns
type: Subnet Mask
example: 255.255.255.0, 255.255.240.0
value:
  \b(255\.(255|0|128|192|224|240|248|252|254)\.(255|0|128|192|224|240|248|252|254)\.(255|0|128|192|224|240|248|252|254))\b


