'ello all.
I am trying to get everything before the filename and previous slash.
I was using this code:
var URL = window.location.href.split('/view.php');
But have since outgrown it.
I am trying to just match anything, but can't seem to get a match.
i.e. #/.*.php#
Please help. :o
TIA!