'Extract Match URL in data studio

I am trying to get specific part of a url from my website in data studio. This is the url type:

https://mywebsite.com/acs/region/USA/news/asdf.com
https://mywebsite.com/acs/region/ARG/news/asdf2.com
https://mywebsite.com/acs/dtcp/en-us/news/asdf3.com

And I would like to get:

region/USA
region/ARG
dtcp/en-us/

This is the code that I tried it:

/[a-zA-Z]+/[a-zA-Z]+/

But in data studio print NULL.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source