Data Loss Prevention

 View Only
  • 1.  Regular Expression Code Require

    Posted Apr 11, 2015 03:39 AM

    Can Anyone provide Regex code for 14 digit/number?

    lets say ID number is  any 14 Digit in continuity pattern.



  • 2.  RE: Regular Expression Code Require

    Posted Apr 13, 2015 10:28 AM

    Hi Kalpesh,

     

    Try using the below, it should look for exactly 14 digits:

    ^\d{14}$

     

    Thanks
    Jake

     

     



  • 3.  RE: Regular Expression Code Require

    Trusted Advisor
    Posted Apr 15, 2015 03:06 AM

    hello

     take care that a pattern of 14 digit only could raise lot of false positives incident.

    I would suggest you to add other constraint in regexp or in a complementary rule.

     

     regards