I don't want to get everything after slash or before.
I want to check if last slash is present or not.
For Example
http://google.com/ --no
http://google.com/abc --no
http://google.com/abc?c=1 --no
http://google.com/abc/ --yes
http://google.com/abc/?c=1 --yes