Data Loss Prevention

 View Only
  • 1.  Need EDM Policy to detect phone numbers

    Posted Apr 14, 2015 11:06 PM

    Hello, I have a long list of phone numbers that I am given to check for possible lead leakage. The problem with phone numbers is they can be in several formats.

    Is it possible to build a regex to take the phone numbers in the list I have and look for possible combinations of those phone numbers in either the (123)456-7890, 123-456-7890 or 1234567890 formats?

    It would save me a ton of time that I would not have to duplicate each phone number given to me but use an expression to take the numbers in the format I have and look for other possible formats.

     

    Thanks



  • 2.  RE: Need EDM Policy to detect phone numbers
    Best Answer

    Trusted Advisor
    Posted Apr 15, 2015 03:11 AM

    hello

    A regexp will not be able to use you list. SO you can :

     - Look for optional caracter in regexp  so in same regexp definition you will look for all kind of format

    - Define three different regexp in three different rules (one for each kind of format)

    - Update your input file to include each number in all format and use it as an EDM. In my opiniion, It requires a little bit of wotk first but will be most efficient way.

     regards