Issue relies here : regexp_extract_all will return a list, use regexp_extract instead
Finds non-overlapping occurrences of regex in string and returns the corresponding values of group.
If string contains the regexp pattern, returns the capturing group specified by optional parameter group