We're a place where coders share, stay up-to-date and grow their careers.
JS
removeUrlAnchor = (str) => str.split('#')[0];
JS