I have some more custom url with og group id like
- www.example.com/students/6593
- www.example.com/results/6953
www.example.com/book-listing/5367/6953
here 6953 is a group id.
these are the sample link. my questions is how to get the group id from url? And i can't use arg(). because i have more no of url and group id position also varied.
There is any robust solutions for this.