I'm trying to build a Regex Expression to extract a string after a certain string. The full string I have is:
Your full name (TL submitting form): XXX
What is your vendor location?: Phoenix
The work a want to extract is the vendor location, in the case above would be Phoenix.
I'm using the code below:
LTRIM(RTRIM(REGEXP_EXTRACT(description_text, '(What is your vendor location\?\:)(.*?)(?=)'))) AS vendor_location
The results using this code is:
Task ID. Date Vendor location
90836966 2021-05-14. What is your vendor location?:
Thank you