code: def urls(text: str, repl: str = "_URL_") -> str:
      """Replace all URLs in ``text`` with ``repl``."""
      return resources.RE_SHORT_URL.sub(
          repl, resources.RE_URL.sub(repl, text)
      )
  
file_path: textacy/src/textacy/preprocessing/replace.py
imports: from .None import resources
label_desc: Use image node_id 7 for calling a global function with example usage: urls(text, repl) and returns: resources