Protection of Ukrainian identification number leakage

1 min read

Control and prevent leakage of Ukrainian identification number through DLP solution.

Identification code – a document that citizens of Ukraine, foreigners and stateless persons can receive from the State Tax Service of Ukraine. The issuance of TIN is regulated by the Tax Code of Ukraine.

  • RegEx
(?:^|\s)(?!0+)([0-9]{10})(?:$|\s|\.|\,)

(?:^|\s) – start of string (with a new line or space)
(?!0+) – from 0 do not start
([0-9]{10}) – 10 digits
(?:$|\s|.|\,) – end of string (line end, space, dot, or comma)

Example:
8472394712



 $ 36.9   36.9   7.7