forked from javierbarthe/delphix-masking-hispanic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
expressions.cfg
35 lines (35 loc) · 5.84 KB
/
expressions.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Expression Name;Domain Name;DataLevel(True|False);Regex
AR_DIRECCION_DATA;AR_DIRECCION;true;^([Cc][Aa][Ll]{2}[Ee][ ]|C[. ]|[Aa][Vv][Ee][Nn][Ii][Dd][Aa]|[Aa][Vv][. ]|[Rr][Uu][Tt][Aa]|RTA[. ]|Rta[. ]|[Aa][Uu][Tt][Oo][Pp][Ii][Ss][Tt][Aa]|Autop[. ]).*$
AR_DIRECCION_METADATA;AR_DIRECCION;false;^([Dd][Ii][Rr][Ee][Cc]{2}[Ii][Ooó][Nn]|.*[Dd][Oo][Mm][Ii][Cc][Ii][Ll][Ii][Oo].*|[Dd][Oo][Mm][Ii]|[Dd][Ii][Rr][Ee]|[Dd][Ii][Rr])$
AR_CP_DATA;AR_CP;true;^([A-Z][0-9]{4}([A-Z]{3})?)$
AR_CUILT_DATA;AR_CUILT;true;^(20|23|24|27|30|33|34)(-)?[0-9]{8}(-)?[0-9]$
AR_DNI_DATA;AR_DNI;true;^([0-9]{1,2}[.]{1}[0-9]{3}[.][0-9]{3})$
AR_TELEFONO_DATA;AR_TELEFONO;true;^(?:(?:00)?549?)?0?(?:11|[2368][0-9])(?:(?=[0-9]{0,2}15)[0-9]{2})??[0-9]{8}$
AR_DNI_METADATA;AR_DNI;false;[Nn]([Uu][Mm][Ee])?[Rr]([Oo])?[^A-Za-z0-9]?[Dd][Nn][Ii]|^[Dd][Nn][Ii]$
AR_NOMBRE_COMPLETO_METADATA;AR_NOMBRE_COMPLETO;false;(^.*_[Nn][Oo][Mm]_([Aa][Pp][Ee]|[Cc][Oo][Mm][Pp][Ll][Ee][Tt][Oo]).*$)|(^.*[Nn][Oo][Mm][Bb][Rr][Ee]([_][Aa][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ación|Altillo|Apartamento|Barrio|Bloque|Bodega|Camino|Carretera|Casa|Centro|Centro Comercial|Circular|Condominio|Conjunto|Corregimiento|Edificio|Finca|Inferior|Interior|Kilómetro|Local|Lote|Manzana|Municipio|Oficina|Pasaje|Piso|Puente|Sector|Supermanzana|Torre|Unidad|Urbanización|Vereda|Via|Zona|AGN|AL|APTO|AS|BR|BL|BG|CM|CLJ|CN|CT|CA|CAS|CEL|CE|CECO|CEUR|CIR|CDM|CONJ|CO|DP|DS|ED|EN|ESQ|ET|FCA|GJ|GS|GR|INF|IP|IN|KM|MN|NC|PSJ|PI|PT|PD|PPAL|SEC|SS|SU|TZ|TO|UN|URB|VDA|VIA|ZN)?[ ]?.*?)*$
CO_NIPNIT_DATA;CO_NIPNIT;true;^(([0-9][.][0-9]{3}[.][0-9]{3}[.][0-9]{3})|([0-9]{3}[.][0-9]{3}[.][0-9]{3}[-][0-9]))$