class_docstr: Detects whether a string contains any of the following personal information
  datapoints using regular expressions:
  
  - credit card
  - phone number
  - email
  - SSN
class_docstr_tok: ["Detects","whether","a","string","contains","any","of","the","following","personal","information","datapoints","using","regular","expressions",":","-","credit","card","-","phone","number","-","email","-","SSN"]
code: def txt_format_detect_all(self, text):
      contains = self.detect_all(text)
      contains_personal_info = False
      txt = (
          "We believe this text contains the following personal "
          + "information:"
      )
      for k, v in contains.items():
          if v != []:
              contains_personal_info = True
              txt += f"\n- {k.replace('_', ' ')}: {', '.join([str(x) for x in v])}"
      if not contains_personal_info:
          return ""
      return txt
  
imports: import importlib
  import math
  import re
  from enum import Enum
label_desc: Use image node_id 3 for calling the PersonalInfoDetector obj's underlying member method code with example usage: obj.txt_format_detect_all(text) and returns: txt, str