How get url path?

I have link /news/september/daily/100.html

route

/news/september/daily/([0-9]+).html

How get path /news/september/daily/?



803
$this->route->getMatchedRoute()->getPaths()
$this->route->getMatchedRoute()->getPattern()


10.0k

not this need get path /news/september/daily/ without other

$this->route->getMatchedRoute()->getPaths()
$this->route->getMatchedRoute()->getPattern()