Bubble Regex Help... not behaving as expected: /g flag

Hi guys,

I am in way over my head on this but can someone please help me with the “extract with Regex” function. It looks to me like the /g flag you see in sites like Regexr.com is not turned on? i.e. only the first instance of a match is captured?

e.g. I want to extract two types of words and use the following expression:

\b(grams | litres)\b

But bubble only captures the first one, e.g. grams. I have tested this with other examples and when I use the same expression in testing sites like Regexr they do extract, but again they have the /g flag turned on.

Any thoughts on how to get this to work in Bubble?

Thanks,
P

Did you get an answer to this?

This topic was automatically closed after 70 days. New replies are no longer allowed.