code: def getEntitiesByRegexp(data = None, listRegexp = None, verbosity=1, logFolder="./logs"):
      
      logSet.setupLogger(loggerName="osrframework.entify", verbosity=verbosity, logFolder=logFolder)
      logInstance = logging.getLogger("osrframework.entify")
      if listRegexp == None:
          listRegexp = regexp_selection.getAllRegexp()
  
      foundExpr = []
  
      for r in listRegexp:
          foundExpr += r.findExp(data)
  
      return foundExpr
docs: Method to obtain entities by Regexp.
  
      Args:
      -----
          data: text where the entities will be looked for.
          listRegexp: list of selected regular expressions to be looked for. If
              None was provided, all the available will be chosen instead.
          verbosity: the verbosity level.
          logFolder: the folder to store the logs.
  
      Returns:
      --------
          list: available objects containing the expressions found in the provided
          data.
          [
            {
              "attributes": [],
              "type": "i3visio.email",
              "value": "foo@bar.com"
            },
            {
              "attributes": [],
              "type": "i3visio.email",
              "value": "bar@foo.com"
          ]