RegexpFind not extracting text

I am trying to extract
/motors/motorhomes-caravans/caravans/
from
http://www.domain.co.uk/town-name/motors/motorhomes-caravans/caravans/

This is my regex - (it works as it should on regex101 testeer
=RegexpFind(url,"http://www.domain.co.uk/[a-z]+/(.*)")

Using this regexpfind just returns the whole url - any ideas?

Hi Claire,

Is there a particular reason you want to use Regex for this?

The correct way of doing this in SeoTools is using the UrlProperty function with the Path parameter.

In your case, it'd come out like this:

=UrlProperty("http://www.domain.co.uk/town-name/motors/motorhomes-caravans/caravans/","path")