Your URL doesn't end in a slash, so you can simply capture the last chunk of content leading up to the final trailing slash:
/([^\/]+)$/
Note that you need the \
before the /
to escape it, since it's embedded in /
wrappers and some environments won't allow the embedded /
without a preceding \
.
If you need to support a trailing slash, you can add \/?
("an optional slash") before the $
.
An example demo of this regex (with a useful explanation about it) can be found here: https://regex101.com/r/hRR4rw/1