Regex Get Capturing Groups

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

3 Likes

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