You can download regular expression lists tailored to your specific needs and industry sector. The files are available in .csv format to simplify the import process, making it easy to integrate them into your DLP configurations.
Sr | Type | Regex | Example |
---|---|---|---|
1 | Amex Card | ^3[47][0-9]{13}$ | 371449635398431, 341234567890123 |
2 | BCGlobal | ^(6541|6556)[0-9]{12}$ | 6541987654321234, 6556123412341234 |
3 | Carte Blanche Card | ^389[0-9]{11}$ | 38912345678901, 38987654321098 |
4 | Diners Club Card | ^3(?:0[0-5]|[68][0-9])[0-9]{11}$ | 30012345678901, 36123456789012 |
5 | Discover Card | ^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})$ | 6011123412341234, 6445678912345678 |
6 | Insta Payment Card | ^63[7-9][0-9]{13}$ | 6371234567890123, 6398765432109876 |
7 | JCB Card | ^(?:2131|1800|35\\d{3})\\d{11}$ | 2131234567891234, 3530111333300000 |
8 | KoreanLocalCard | ^9[0-9]{15}$ | 9123456789123456, 9876543210987654 |
9 | Laser Card | ^(6304|6706|6709|6771)[0-9]{12,15}$ | 6304123412341234, 6706123412345678901 |
10 | Maestro Card | ^(5018|5020|5038|6304|6759|6761|6763)[0-9]{8,15}$ | 5018123412341234, 6759123412341234567 |
11 | Mastercard | ^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$ | 5555555555554444, 2221000000000009 |
12 | Solo Card | ^(6334|6767)[0-9]{12}|(6334|6767)[0-9]{14}|(6334|6767)[0-9]{15}$ | 6334123412341234, 6767123412341234567 |
13 | Switch Card | ^(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}$ | 4903123412341234, 6333123412341234567 |
14 | Union Pay Card | ^(62[0-9]{14,17})$ | 6212345678901234, 6223456789012345678 |
15 | Visa Card | ^4[0-9]{12}(?:[0-9]{3})?$ | 4111111111111111, 4012888888881881 |
16 | Visa Master Card | ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14})$ | 4111111111111111, 5555555555554444 |
Sr | Type | Regex | Example |
---|---|---|---|
1 | Email-ID | [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,} | [email protected], [email protected] |
2 | Address Format | (Street|Rd|Road|Tower|Bldg|Building|Apt|Apartment)\s+\w+ | Al Wasl Street, Building 4, Apartment 56 |
3 | Universal Passport | [A-Za-z0-9]{6,9} | A1234567, X98765432 |
4 | Date of Birth | \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 | 18-9-1999, 12-12-2000 |
Sr | Type | Regex | Example |
---|---|---|---|
1 | Aadhaar Number | \b\d{4}\s?\d{4}\s?\d{4}\b | 1234 5678 9012, 987656789012 |
2 | Passport Number | [A-Z]{1}\d{7} | A1234567, N9876543 |
3 | PAN Number | [A-Z]{5}\d{4}[A-Z]{1} | ABCDE1234F, XYPQZ9876J |
4 | Phone Number | [789]\d{9} | 9876543210, 8123456789 |
5 | Indian IFSC Code | [A-Z]{4}0[A-Z0-9]{6} | SBIN0001234, HDFC0ABC999 |
6 | Driving License | [A-Z]{2}\d{13,16} | DL0123456789012, MH0987654321234 |
7 | GSTIN | \d{2}[A-Z]{5}\d{4}[A-Z]{1}[A-Z\d]{1}[Z]{1}[A-Z\d]{1} | 27AAPFU0939F1ZV, 07ABCFG6789P1Z1 |
8 | UPI ID | [a-zA-Z0-9.\-_]{2,256}@[a-zA-Z]{2,64} | john.doe@icici, 1234567890@paytm |
Sr | Type | Regex | Example |
---|---|---|---|
1 | IPv4 Address | \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]?)\b | 192.168.1.1, 172.16.0.254 |
2 | IPv6 Address | \b([\d\w]{4}|0)(\:([\d\w]{4}|0)){7}\b | 2001:0db8:85a3:0000:0000:8a2e:0370:7334, fe80:0000:0000:0000:0202:b3ff:fe1e:8329 |
3 | MAC Address | \b([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})\b | 00:14:22:01:23:45, 3D-F2-C9-A6-B3-4F |
4 | CIDR Notation | \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 | 192.168.1.0/24, 10.0.0.0/8 |
5 | IPv6 Address with CIDR | \b([\dA-Fa-f]{1,4})(\:([\dA-Fa-f]{1,4})){7}(\/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8]))\b | 2001:0db8:85a3::8a2e:0370:7334/64, fe80::0202:b3ff:fe1e:8329/128 |
6 | URL | ([a-z]{3,6}?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*) | https://www.example.com, ftp.example.org |
7 | Subnet Mask | \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 | 255.255.255.0, 255.255.240.0 |
8 | Windows Folder Path | /^(?i)\s*([a-z]:\/?)?(?:[^?*:;|<>\r\n\\]*)(\/\1*|\1*)(.\1*)*[^.]$/ | C:\Program Files\MyApp, Documents\Work\Project |
9 | Linux Folder Path | \/([\w\-]+\/)*[\w\-]+ | /home/user/Documents/Project, /var/log/nginx/error.log |
Sr | Type | Regex | Example |
---|---|---|---|
1 | Emirates ID | 784-\d{4}-\d{7}-\d{1} | 784-1234-5678901-2, 784-9876-5432109-8 |
2 | Phone Numbers | (971|0)(\d{1,2})\d{7} | +971501234567,0501234567 |
3 | UAE Passport | [A-Z]\d{7,8} | A12345678, Z98765432 |
4 | UAE IBAN | AE\d{2}\d{3}\d{16} | AE071234567890123456789, AE081111222233334444555 |
5 | Driving Licenses | [A-Z]{1,2}\d{5,8} | G1234567, AB12345678 |
6 | Insurance Policies | [A-Z0-9]{8,12} | IN12345678, UAE56789012 |
7 | Tax numbers | [A-Z0-9]{9,12} | TIN123456789, AB9876543210 |