FORUM COMMUNITY IDEAS SHOWCASE LEARNING CENTER

Regex Get Capturing Groups


#1

Hi all,
I am trying to use some regex to extract the ID of a youtube Video. However the Regex is correct but the issue I have is that the regex I have gound puts it into matching groups. so Group7 Matches the ID and I want to access that group7 inside of bubble. I thought it would be a case of just saying item#7 for example:

As you can see the following regex works:
Regex: ^.((youtu.be/)|(v/)|(/u/\w/)|(embed/)|(watch?))??v?=?([^#&?]).*

Is there anyway to get the capturing groups with the extract with regex command in Bubble?

Thanks


#2

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