Use url segment as querystring parameter [Craft 3]
You need to define routes for these URLs in settings in the CP or via the config/routes.php file.

return [
    'team/&lt;regionId:[^\/]+&gt;' =&gt; ['template' =&gt; 'team/_index'],
    'pricing/&lt;regionId:[^\/]+&gt;' =&gt; ['template' =&gt; 'pricing/_index'],
];


By defining the named subpattern, the template will get loaded with a regionId variable defined.
Use the is defined test or the null-coalescing operator to see if the template got loaded via your custom route or via the entry route. In the case that the template gets loaded via the custom route you also need to define the entry variable manually, null-coalescing operator again allows you to do that quite elegantly.

{% set entry = entry ?? craft.entries.section('pricing').one() %}
{% set regionId = regionId ?? 'en' %}