code: def to_int(value):
      value = "".join((x for x in value if x.isdigit()))
      try:
          return int(value)
      except Exception:
          return 0
  
imports: import re
  import sys
  import requests
label_desc: Use image node_id 1 for calling a global function with example usage: to_int(value) and returns: int, int