Hi Everyone!
I came across a problem that I need to extract all the text after the second last "/" in a link. For example:
"http://www.groupon.be/deals/antwerpen/hotel-kenzi-farah/30596211"
I need "hotel-kenzi-farah/30596211".
The total number of "/" is not constant, but what is certain is that the information after the second last "/" is all I need.
Really appreciate any help.
I came across a problem that I need to extract all the text after the second last "/" in a link. For example:
"http://www.groupon.be/deals/antwerpen/hotel-kenzi-farah/30596211"
I need "hotel-kenzi-farah/30596211".
The total number of "/" is not constant, but what is certain is that the information after the second last "/" is all I need.
Really appreciate any help.