I need to parse a url using substr() or something similar based on its forward slashes.
In the end it will go from:
and leave only
notice The lack of the closing forward slash at the end of the original url. I appreciate any help in the matter