Good Morning,
I'm using a function I got from another post here:
How to get the file name from a full path using JavaScript?
To return the current filename of a webpage
var url=window.location.pathname;
var filename = url.replace(/^.*[\\\/]/, '');
alert(filename);
and I was curious as to whether it is possible to strip the .html from the end while still using this syntax.