Example Queries

These queries are based on the ZyLAB search syntax and can be used in Auto Classification or Auto Redaction.

Dutch Mobile Numbers

  • (([06]{1,2}[0-9]{8} or [06]{1,2} [0-9]{8}) w/2 ?[0-9]{1,2}) or ([06]{1,2}[0-9]{8} or [06]{1,2} [0-9]{8})

Credit Cards

  • (?#American_Express)(\b3[47][0-9]{13}\b)|(\b3[47][0-9]{2}[ ]*[0-9]{6}[ ]*[0-9]{5}\b
    converts to 
    ([3][47][0-9]{13}) OR ([3][47][0-9]{2} [0-9]{6} [0-9]{5})
  • (?#China_UnionPay)(\b(62|88)[0-9]{13}[0-9]{1,4}\b)|(\b(62|88)[0-9]{2}([ ]*[0-9]{4}){3}\b)
    converts to
    ([6][2][0-9]{13}[0-9]{1,4}) OR ([6][2][0-9]{2} [0-9]{4} [0-9]{4} [0-9]{4} [0-9]{4}) OR ([8][8][0-9]{13}[0-9]{1,4}) OR ([8][8][0-9]{2} [0-9]{4} [0-9]{4} [0-9]{4} [0-9]{4})
  • (?#Master_Card)\b5[1-5][0-9]{2}([ ]*[0-9]{4}){3}\b
    converts to
    ([5][1-5][0-9]{2} [0-9]{4} [0-9]{4} [0-9]{4}) OR ([5][1-5][0-9]{14})

IBAN

  • [a-z]{2}[0-9]{2}[a-z0-9]{4}[0-9]{7}[a-z0-9]{0,16}