Brazil national identification card (RG)


If you're not an E5 customer, use the 90-day Microsoft Purview solutions trial to explore how additional Purview capabilities can help your organization manage data security and compliance needs. Start now at the Microsoft Purview compliance portal trials hub. Learn details about signing up and trial terms.


Registro Geral (old format): Nine digits

Registro de Identidade (RIC) (new format): 11 digits


Registro Geral (old format):

  • two digits
  • a period
  • three digits
  • a period
  • three digits
  • a hyphen
  • one digit that is a check digit

Registro de Identidade (RIC) (new format):

  • 10 digits
  • a hyphen
  • one digit that is a check digit



Keyword Highlighting


When keyword highlighting is supported in the contextual summary for a sensitive information type or a trainable classifier, in the Contextual Summary view of activity explorer, the keywords in a document that were matched to a policy are highlighted.


A DLP policy has high confidence that it's detected this type of sensitive information if, within a proximity of 300 characters:

  • The function Func_brazil_rg finds content that matches the pattern.
  • A keyword from Keyword_brazil_rg is found.
  • The checksum passes.
      <!-- Brazil National ID Card (RG) -->
      <Entity id="486de900-db70-41b3-a886-abdf25af119c" patternsProximity="300" recommendedConfidence="85">
        <Pattern confidenceLevel="85">
          <IdMatch idRef="Func_brazil_rg" />
          <Match idRef="Keyword_brazil_rg" />



  • Cédula de identidade
  • identity card
  • national id
  • número de rregistro
  • registro de Iidentidade
  • registro geral
  • RG (this keyword is case-sensitive)
  • RIC (this keyword is case-sensitive)