code: def try_cast_int(s):
      
      try:
          temp = re.findall('\d', str(s))
          temp = ''.join(temp)
          return int(temp)
      except:
          return s
docs: (str) -> int
      All the digits in a given string are concatenated and converted into a single number.