About managed regular expression lists in Email Security .Cloud and Web Security.cloud

book

Article ID: 179008

calendar_today

Updated On:

Products

Email Security.cloud

Issue/Introduction

 

Resolution

We provide the following managed regular expression lists for you to use with the Data Protection services. Each managed regular expression list contains a single regular expression. When you create your policies, you can combine multiple custom or managed regular expression lists to provide the solution that you require.

 

List name

Notes

Examples of matches

Examples of non-matches

ABA Routing Template

Find matches for an ABA routing number. This is a nine-digit number. There is no match if there is an alphanumeric character or a hyphen in front of or at the end of the digits. There is no match if there is a plus symbol in front of the digits.

012345678

012345678 no

012345678~no

012345678no

AJL Credit Card

Find matches for AJL Credit Card numbers.

36159576425302

374615373757171

5269760516591108

4336687003806412

3833 975077 0420

3014-716500-6142

3469-737207-60884

3582-5049-2386-6975

4892 1817 0946 7063

1.36159576425302

Birthdate

Find matches for birth dates.

DOB 01/01/1901

BIRTH 01/01/1901

BIRTHDAY 1-1-1901

BIRTH DAY 1.1.01

BIRTHDATE 01-01-1901

01-01-1901 DOB

dob 01/01/1901

birth 1/01/1901

birthday 1-1-1901

birth day 01.01.01

birthdate 01-01-1901

01-01-1901 dob

01/01/1901

01.01.1901

01-01-1901

1.1.01 1/1/01 1-1-01

Credit Card Numbers (Restricted Format Matches)

Find matches for all kinds of credit card numbers. A LUHN algorithm check is applied. The separator can be a white space, or nothing, but cannot be a dash (-).

36334984144312

3633 498414 4312

348526158792841

3485 261587 92841

4402064770623264

4402 0647 7062 3264

3633-498414-4312

3485-261587-92841

4402-0647-7062-3264

15796851482832

14376871315261

31900597738008

32047800412648

37778165362375

3843776760017319

3647034435804432

47625697369931

45448191895224

47290380507287

5100-0000-0000-0000

3400-000000-00000

Custom Credit Card Numbers

Find matches for custom credit card numbers.

5100 0000 0000 0000

5200 0000 0000 0000

5300 0000 0000 0000

5400 0000 0000 0000

5500 0000 0000 0000

4000 0000 0000 0000

3400 000000 00000

3700 000000 00000

3000 000000 0000

3010 000000 0000

3020 000000 0000

3030 000000 0000

3040 000000 0000

3050 000000 0000

3600 000000 0000

3800 000000 0000

6011 0000 0000 0000

2014 000000 00000

2149 000000 00000

3000 0000 0000 0000

2131 000000 00000

1800 000000 00000

5100-0000-0000-0000

3400-000000-00000

3000-000000-0000

5100000000000000

340000000000000

30000000000000

 

General DL identifier for records

Find matches for the words driver license and similar spellings. The case of the text is ignored.

driver license

driver licenses

driving license

Driver License

driver licensing

driverlicense

dl #

dl#

lic #

lic#

driver's license

driver-license

driv. license

MA, VA, KY, KS, AZ DL 1 Alpha 8 Numeric

Find matches for driver license expressions for the following US states - MA, VA, KY, KS and AZ. The format of these is a single alphabet character followed by 8 digits.

A12345678

a12345678

123456789

AA1234567

A12345678a

Driver license

Generic Driver license template for the US.

B356 1258 4578

B356-1258-4578

B35612584578

B356 1258-4578

UK DL 1

Find matches for UK driving licenses. There is no match if the expression is at the beginning or the end of a line.

ABCDE 101317 ABCAB

ABCD9 101317 AB9AB

ABCD0 101317 AB0AB

ABCD9 163317 ABCAB

ABCDE101317ABCAB

ABCDE A01317 ABCAB

ABDDE 101317 ABC12

NJ DL 1 Alpha (1st Letter Last Name) 14 Numeric

Find matches for New Jersey driver licenses. The format of these is a single alphabet character followed by 14 numbers. There is no match if the expression is at the beginning or the end of a line.

A12345678901234

A123456789012345

AA12345678901234

A12345678901234A

FL, MD, MI, MN DL Letter plus 12 Digits

Find matches for Florida, Maryland, Michigan and Minnesota driver licenses. The format is a single alphabet character followed by 12 numbers. There is no match if the expression is at the beginning or the end of a line.

A123456789012

AA123456789012

A1234567890123

IL DL First Letter Of Last Name And 11 Digits

Find matches for Illinois driver licenses. The first letter of the last name is followed by 11 numbers. There is no match if the expression is at the beginning or the end of a line.

A12345678901

a12345678901

AB12345678901

A123456789012

A12345678901B

NY SC,CO, CT, HI, MS, NM, ND, OK DL 9 Numeric

Find matches for driver licenses for the following US states - NY, SC, CO, CT, HI, MS, NM, ND, OK. There is no match if the expression is at the beginning or the end of a line.

123456789

A123456789

1234567890

123456789A

CA DL 1 Alpha 7 Numeric

Find matches for California driver licenses. The format is a single alphabet character followed by 7 numbers. There is no match if the expression is at the beginning or the end of a line.

A12345678

AA12345678

A12345678

Custom SSN MED

US Social Security Number.

123-12-1234

123-12-12345

2011 HCPCS in Regex for HIPAA

Find matches for Healthcare Common Procedure Coding System (HCPCS) codes for HIPAA.

12345

123456

123456789

AB12345

H0001

ICD 10 for HIPAA

Find matches for ICD-10 (International Classification of Diseases) codes for HIPAA.

A00.00xA

S00.0xxA

A00.1

ICD 9 for HIPAA

Find matches for ICD-9 (International Classification of Diseases) codes for HIPAA.

E12.1

E12.12

12.1

12.12

123.1

123.12

AB12.1

123.12A

CPT Category 1 or 2 or 3 Codes for HIPAA

Find matches for HIPAA CPT (Current Procedural Terminology) Category 1, 2 or 3.

CPT 12345

CPT blah 12345

CPT 1000F

2010 FDA NDC Codes for HIPAA

Find matches for FDA (Food and Drug Administration) National Drug Codes.

1234-1234-12

12345-123-12

12345-1234-1

1234-12345-1

Drug Codes US

Find matches for HIPAA, NDC, and variants.

12345-1234-12

12345-123-12

12345-*123-12

12345-1234-1

12345-1234-*1

1234-1234-12

*1234-1234-12

A12345-123-12

1234-1234-123

AB1234-1234-12

US ITIN

Find matches for US Individual Taxpayer Identification Numbers (ITIN).

912-89-1234

812-89-1234

Latvian Personal ID

Find matches for Latvia Identity Card Numbers. The format is DDMMYY-XNNNC. The first six numbers are a birth date. X is the century a person was born in (0 for XIX, 1 for XX and 2 for XXI). NNN is birth serial number in that day. C is checksum digit.

301299-11234

010199-11234

200299-21234

013199-11234

010199-31234

SSN (Complete No Hyphen)

Find matches for social security numbers of the format AAAGGSSSS where AAA is the area number from 000 to 772. This is for valid SSNs prior to June 25th 2011.

123121234

000121234

123001234

123120000

A123121234

123121234

773121234

SSN Complete

Find matches for social security numbers of the format AAA-GG-SSSS where AAA is the area code 000 to 772. This is for valid SSNs prior to June 25th 2011. The separator can be a space or a "-". This does not match valid SSNs following by "-".

It does not match the number strings inside a math context or pure data list.

123-12-1234

123 12 1234

000-12-1234

123-00-1234

123-12-0000

A123-12-1234

773-12-1234

123-12-1234-

SSN with space dash slash

Find matches for social security numbers of the format AAA-GG-SSSS where AAA is from 000 to 772. This is for valid SSNs prior to June 25th 2011. The separator "-" can be replaced by " " or "/" in all occurrences.

123-12-1234

123 12 1234

123/12/1234

000-12-1234

123-00-1234

123-12-0000

A123-12-1234

773-12-1234

123 12/1234

US SSNs (All matches)

Find matches for social security numbers of the format AAA-GG-SSS, which include randomization SSNs and those prior to June 25th 2011.

Matches all formats including these delimiters:

, ' ! # $ % * + .

If an SSN is followed by a separator and then by a digit, it is not a match.

123 45 6789

123/45/6789

123-45-6789

123456789

 

US SSNs (Restricted Format Matches)

The same as US SSNs (All Matches) except that the delimiter can only be a slash (/) or a white space.

 

 

Custom SSN

Find matches for social security numbers of the format AAA-GG-SSSS where AAA is from 000 to 772. This is for valid SSNs prior to June 25th 2011.

123-12-1234

000-12-1234

123-00-1234

123-12-0000

A123-12-1234

123 12 1234

773-12-1234

UK NINos

Find matches for UK National Insurance Numbers.

This only matches if there is a letter at the end. Though only A, B, C or D is valid as the final letter, this template matches with any letter. The letter is not part of the matching sequence; it exists only to cause the JR 56 43 23 to match. Without the final letter, JR 56 43 23 does not match.

JR 56 43 23 A

jr 56 43 23 a

AA 11 11 11 A

JR564323

AA111111

JR 56 43 23 Z

AA 11 11 11 F

DA 11 11 11 A

JR 56 43 23

AA 11 11 11

SSNVS No Hyphen

Find matches for social security numbers of the format AAAGGSSS, which includes randomization SSNs and those prior to June 25th 2011.

123121234

000121234

123001234

123120000

A123121234

12312/1234

1231212341

SSNVS space, dash, slash

Find matches for social security numbers of the format AAA-GG-SSSS where AAA is from 000 to 772. This is for valid SSNs prior to June 25th 2011. The separator "-" can be replaced by " " or "/" in all occurrences.

123-12-1234

123 12 1234

123/12/1234

000-12-1234

123-00-1234

123-12-0000

A123-12-1234

773-12-1234

123 12/1234

SSNVS (Restricted Format Matches)

Find matches for social security numbers of the format AAA GG SSS, which includes randomization SSNs and those prior June 25th 2011. The separator " " can be replaced by "/" in all occurrences. It does not match if an SSN is followed by a separator and then by a number.

123 12 1234

123/12/1234

000 12 1234

123 00 1234

123 12 0000

A123 12 1234

123 12/1234

123 12 1234 1

SSNVS (All matches)

Find matches for all social security numbers. It is very similar to SSNVS space dash slash, except it allows no separator. A LUHN algorithm check is not applied.

 

 

SSNVS Complete

Find matches for social security numbers of the format AAA-GG-SSS, which includes randomization SSNs and those prior June 25th 2011. The separator "-" can be replaced by " " in all occurrences. It does not match if an SSN is followed by a separator and then by a number.

123-12-1234

123 12 1234

000-12-1234

123-00-1234

123-12-0000

A123-12-1234

123-12/1234

123-12-1234-1

Custom SSN

Find matches for social security numbers of the format AAA-GG-SSS, which includes randomization SSNs and those prior to June 25th 2011. It does not match if an SSN is followed by a separator and then by a number.

123-12-1234

000-12-1234

123-00-1234

123-12-0000

A123-12-1234

123-12/1234

123-12-1234-1

UK National Insurance

Find matches for UK National Insurance Numbers such as JG 121316 A. The last alphabet character can be omitted. No space is allowed between the six numbers.

JG 121316 A

JG121316A

JG121316

JG 121316

JG 12 13 16 A

JG 12 13 16

UK Passport old type

Find matches for old type UK passports.

A1234A

A12345

01234A

012345

a1234A

01234a

UK Electoral Role

Find matches for UK electoral role codes.

AB1

AB12

AB123

AB1234

ABC1

ABC1234

ab1

ab12345

ABCD1

UK Passport new type

Find matches for new type UK passports. The format is xxxxxxxxx, where x is a number.

123456789

1234567890

a123456789

123456789a