I have a URL like this-
http://localhost/gtwhero/public/users/13/subscribers-lists/30/subscribers
So it's format is like this-
http://localhost/gtwhero/public/users/{user_id}/subscribers-lists/{list_id}/subscribers
I want to get the user_id and list_id from the URL.
So what I have done is
var a = parseInt("http://localhost/gtwhero/public/users/13/subscribers-lists/30/subscribers");
But as a result I am getting -
NaN
So, I think there must be another way of getting those two integers.
Can anyone please help?