Regex that captures both domain and locale for a given url. Eg: https://sumup.com/en-en/welcome
matches https://sumup.com/en-en