code: def remove_handles(text):
      """
      Remove Twitter username handles from text.
      """
      pattern = regex.compile(
          r"(?<![A-Za-z0-9_!@#\$%&*])@(([A-Za-z0-9_]){20}(?!@))|(?<![A-Za-z0-9_!@#\$%&*])@(([A-Za-z0-9_]){1,19})(?![A-Za-z0-9_]*@)"
      )
      # Substitute handles with ' ' to ensure that text on either side of removed handles are tokenized correctly
      return pattern.sub(" ", text)
  
imports: import html
  import os
  import re
  from shutil import copyfile
  from typing import List, Optional, Tuple
  import regex
  from ...tokenization_utils import PreTrainedTokenizer
  from ...utils import logging
label_desc: Use image node_id 5 for calling a global function with example usage: remove_handles(text) and returns: pattern