Certian values from a url?

Hello, I’m not much of a programmer. But maybe someone here could point me in the right direction.

What would be the best way to record specific values of a URL?

For example,

https://www.lowes.com/pd/Kobalt-12-Piece-Variety-Pack-Screwdriver-Set/50158903

I would like to record only the 50158903 in the above url.

Also, the numbers do not have a specific length. Sometimes it might have 5 numbers, other times it could have 12. But, it always only contains numbers trailing the last / in the url.

Cheers!

explode the uri

explode()

Sponsor our Newsletter | Privacy Policy | Terms of Service