Regex doesn't seem to work

Hello,
I am trying to extract the root domain in a url => http://www.domain.com will return domain.com
I am using the extract with regex function with this regular expression: ^(?:http://www.|www.|https://www.)([^/]+)

I have tested this regex here => http://regexr.com/4a0m7 and it does what is is supposed to do :slight_smile:

When tested in Bubble, the regex returns the same thing as the data input. Am I doing something wrong?

1 Like

Thanks! @emmanuel is this anywhere on your roadmap or we are doing something wrong?

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