I want to extract extract "f9sdsdsd-1375-41f7-8c4c-ereb20ad3843c" from "0:f9696a03-1375-41f7-8c4c-34b20ad3843c".
I am currently using TRIM(REGEXP_EXTRACT("0:f9696a03-1375-41f7-8c4c-34b20ad3843c", r"0:[^:]+)")). However, I am not getting being able to extract it with the current syntax.
Can someone please help me here? Thanks.
you are just simply missing (
- use below
TRIM(REGEXP_EXTRACT("0:f9696a03-1375-41f7-8c4c-34b20ad3843c", r"0:([^:]+)"))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.