code: def regex_extract(arg, pattern, index):
      
      return ops.RegexExtract(arg, pattern, index).to_expr()
docs: Returns specified index, 0 indexed, from string based on regex pattern
      given
  
      Parameters
      ----------
      pattern : string (regular expression string)
      index : int, 0 indexed
  
      Returns
      -------
      extracted : string