Check out this kata
Complete the function/method so that it returns the url with anything after the anchor (#) removed.
EXAMPLE
// returns 'www.codewars.com'
removeUrlAnchor('www.codewars.com#about')
// returns 'www.codewars.com?page=1'
removeUrlAnchor('www.codewars.com?page=1')
function removeUrlAnchor(url){
return url.replace( /#.*/ , '' )
}