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,


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.



explode the uri