I have path field in mysql table which stors the path of the page.
It is having page id at the end like 33, 31, 121 ...
How can I write a query to get only the ids?
Path
-----
trending-architectures/architecture_detail_page/31
trending-architectures/architecture_detail_page/33
trending-architectures/architecture_detail_page/33
trending-architectures/architecture_detail_page/33
trending-architectures/architecture_detail_page/33