code: def replace_jv(text: str) -> str:
      """
      Do j/v replacement.
  
      >>> replace_jv("vem jam VEL JAM")
      'uem iam UEL IAM'
      """
  
      for pattern, repl in patterns:
          text = re.subn(pattern, repl, text)[0]
      return text
  
label_desc: Use image node_id 1 for calling a global function with example usage: replace_jv(text) and returns: text