Hi all- Can someone help me to figure out what I did wrong?
I’m trying to extract the channel name from a Twitch link, but it doesn’t seem to be working. It just outputted the exact same URL.
I tested with regex101, and it was working correctly.
Hi all- Can someone help me to figure out what I did wrong?
I’m trying to extract the channel name from a Twitch link, but it doesn’t seem to be working. It just outputted the exact same URL.
I tested with regex101, and it was working correctly.
Can you provide a sample link & paste the regex pattern here in Text so I can test it out?
The problem here is your regex is capturing group which is often problematic in bubble but works in regex101
try this without using a capturing group -
(?<=twitch.tv/)[a-zA-Z0-9_]+
Not sure how the link show exactly, but from what I understand, this could easily be solved using: split by /:last item instead of regex
This is what I have currently:
Sample link: Twitch
Regex: (?:https?://)?(?:www.)?twitch.tv/([a-zA-Z0-9_]+)
Current output is the entire URL vs. just the channel name “staryuuki”
This worked!
I’m still fairly new to this. Can you explain to me what you mean by capturing groups? As in the https and www part is not needed?