code: def extract_from_text(text):
      return tools.remove_duplicates([re.sub("arxiv:", "", i[0],
                                             flags=re.IGNORECASE)
                                      for i in REGEX.findall(text) if i[0] != ''])