I’m aware Bubble allows us to extract the top level domain from email addresses, but how would one extract it from a URL?
Try a regex that matches something mentioned here: http://stackoverflow.com/questions/25703360/regular-expression-extract-subdomain-domain
Thanks, Scott. I will give this a go!
For the benefit of anyone else looking to achieve the same thing, Scott’s suggestion worked a treat.
Use the regex expression: ^(?:http://|www.|https://)([^/]+)
Thanks again, Scott!
This topic was automatically closed after 70 days. New replies are no longer allowed.