OSINT Brazuca Regex é um repositório criado com intuito de reunir expressões regulares dentro do contexto Brasil 🇧🇷.
^(\d{2}.?\d{3}.?\d{3}\/?\d{4}\-?\d{2})$
^\d{3}.?\d{3}.?\d{3}\-?\d{2}$
Rio Grande do Sul
Dígito 0
Ex: 999.999.990-99
^\d{3}.?\d{3}.?\d{2}[0]{1}\-?\d{2}$
Distrito Federal, Goiás, Mato Grosso, Mato Grosso do Sul e Tocantins
Dígito 1
Ex: 000.000.001-00
^\d{3}.?\d{3}.?\d{2}[1]{1}\-?\d{2}$
Amazonas, Pará, Roraima, Amapá, Acre e Rondônia
Dígito 2
Ex: 000.000.002-00
^\d{3}.?\d{3}.?\d{2}[2]{1}\-?\d{2}$
Ceará, Maranhão e Piauí
Dígito 3
Ex: 000.000.003-00
^\d{3}.?\d{3}.?\d{2}[3]{1}\-?\d{2}$
Paraíba, Pernambuco, Alagoas e Rio Grande do Norte
Dígito 4
Ex: 000.000.004-00
^\d{3}.?\d{3}.?\d{2}[4]{1}\-?\d{2}$
Bahia e Sergipe
Dígito 5
Ex: 000.000.005-00
^\d{3}.?\d{3}.?\d{2}[5]{1}\-?\d{2}$
Minas Gerais
Dígito 6
Ex: 000.000.006-00
^\d{3}.?\d{3}.?\d{2}[6]{1}\-?\d{2}$
Rio de Janeiro e Espírito Santo
Dígito 7
Ex: 000.000.007-00
^\d{3}.?\d{3}.?\d{2}[7]{1}\-?\d{2}$
São Paulo
Dígito 8
Ex: 000.000.008-00
^\d{3}.?\d{3}.?\d{2}[8]{1}\-?\d{2}$
Paraná e Santa Catarina
Dígito 9
Ex: 000.000.009-00
^\d{3}.?\d{3}.?\d{2}[9]{1}\-?\d{2}$
(\d{1,2}\.?)(\d{3}\.?)(\d{3})(\-?[0-9Xx]{1})
((cnh.*[0-9]{11})|(CNH.*[0-9]{11})|(habilitação.*[0-9]{11})|(carteira.*[0-9]{11}))
(^\d{5})\-?(\d{3}$)
-
Centro-Oeste
Distrito Federal
70000-000 a 72799-999 e 73000-000 a 73699-999(7([0-2][0-7]|3[0-6])\d{2}-\d{3})
Goiás
72800-000 a 72999-999 e 73700-000 a 76799-999(7(2[8-9]|[3-6]7)\d{2}-\d{3})
Mato Grosso do Sul
79000-000 a 79999-999(79\d{3}-\d{3})
Mato Grosso
78000-000 a 78899-999(78[0-8]\d{2}-\d{3})
-
Nordeste
Alagoas
57000-000 a 57999-999(57\d{3}-\d{3})
Bahia
40000-000 a 48999-999(4[0-8]\d{3}-\d{3})
Ceará
60000-000 a 63999-999(6[0-3]\d{3}-\d{3})
Maranhão
65000-000 a 65999-999(65\d{3}-\d{3})
Paraíba
58000-000 a 58999-999(58\d{3}-\d{3})
Pernambuco
50000-000 a 56999-999(5[0-6]\d{3}-\d{3})
Piauí
64000-000 a 64999-999(64\d{3}-\d{3})
Rio Grande do Norte
59000-000 a 59999-999(59\d{3}-\d{3})
Sergipe
49000-000 a 49999-999(49\d{3}-\d{3})
-
Norte
Acre
69900-000 a 69999-999(699\d{2}-\d{3})
Amapá
68900-000 a 68999-999(689\d{2}-\d{3})
Amazonas
69000-000 a 69299-999 e 69400-000 a 69899-999(69([0-2]|[4-8])\d{2}-\d{3})
Pará
66000-000 a 68899-999(6[6-8][0-8]\d{2}-\d{3})
Rondônia
76800-000 a 76999-999(76[8-9]\d{2}-\d{3})
Roraima
69300-000 a 69399-999(693\d{2}-\d{3})
Tocantins
77000-000 a 77999-999(77\d{3}-\d{3})
-
Sudeste
Espírito Santo
29000-000 a 29999-999(29\d{3}-\d{3})
Minas Gerais
30000-000 a 39999-999(3\d{4}-\d{3})
Rio de Janeiro
20000-000 a 28999-999(2[0-8]\d{3}-\d{3})
São Paulo
01000-000 a 19999-999([0-1][1-9]\d{3}-\d{3})
-
Sul
Paraná
80000-000 a 87999-999(8[0-7]\d{3}-\d{3})
Rio Grande do Sul
90000-000 a 99999-999(9\d{4}-\d{3})
Santa Catarina
88000-000 a 89999-999(8[8-9]\d{3}-\d{3})
(RNE)([A-Z\d])(\d{6})([A-Z\d])
((\d{4})[.](\d{6})-(\d{1})|(\d{4})(\d{6})(\d{1}))
^([a-zA-Z]{3}\d[a-jA-J]\d{2})|([a-zA-Z]{3}-\d{4})$
(\d{5}[\.]\d{5}[\s]\d{5}[\.]\d{6}[\s]\d{5}[\.]\d{6}[\s]\d[\s]\d{14})|(\d{47,48})|(\d{12} \d{12} \d{12} \d{12})
([0-9]{14})(br.gov.bcb.(|-)pix).*(6304)([0-9a-zA-Z]{4})
([a-z\d]{8})\-([a-z\d]{4})\-([a-z\d]{4})\-([a-z\d]{4})\-([a-z\d]{12})
^[A-Z]{2}\d{6}$
([0-9-\/]{5,11})(?i)[a-z]{2}
(?:(?:(\+|00)?(55))\s?)?(?:\(?(\d{2})\)?\s?)(|\d{2})(|-)?(?:(9\d|[2-9])\d{3}[-|.|\s]?(\d{4}))
(AC|AL|AP|AM|BA|CE|DF|ES|GO|MA|MT|MS|MG|PA|PB|PR|PE|PI|RJ|RN|RS|RO|RR|SC|SP|SE|TO|BR)
([0-9]{2}[\.]?[0-9]{3}[\.]?[0-9]{3}[\/]?[0-9]{4}[-]?[0-9]{2})
(0[1-9]|1[0-9]|2[0-9]|3[0-1])[- | \/](0[1-9]|1[0-2])[- | \/]([0-9]{4})
Número de inscrição dado às empresas pelo SEFAZ (Secretária da Fazenda) de cada UF. O comprimento pode variar de 8 a 13 dígitos, dependendo da UF. A REGEX abaixo corresponde ao formato utilizado no estado de São Paulo. Para outros estados, verifique o arquivo JSON na raiz deste repositório.
^\d{3}.?\d{3}.?\d{3}.?\d{3}$
^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$
https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()!@:%_\\+.~#?&\\/\\/=]*)
([\w._%+-]+)(@|\s@\s|\sat\s|\[at\])([\w.-]+)\.([\w]{2,})
[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}
(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))
(?:[0-9A-Fa-f]{2}[:-]){5}(?:[0-9A-Fa-f]{2})
((0?[1-9]|1[0-2]):([0-5][0-9].?([a].?[m].?|[p].?[m].?)))
([01][0-9]|[2][0-3]):([0-5][0-9])
^(?=.*[A-Z])(?=.*[a-z])(?=.*[\d])(?=.*[@#$%&*!-+&*]).{8,20}$
(\+|-)?(?:180(?:(?:\.0{1,6})?)|(?:[0-9]|[1-9][0-9]|1[0-7][0-9])(?:(?:\.[0-9]{1,6})?))
(^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$)
^(?:s\/n|S\/n|S\/N|s\/N)|^(\d)*$
Contribuições de qualquer tipo são bem-vindas!
A todas as instituições públicas governamentais e iniciativas privadas que disponibilizaram os links para consulta.
A todos que de alguma forma contribuíram para o compartilhamento de links e tricks de consulta nos websites.