faster removal using gsub instead of using the uri library