I'm trying to figure out the regular expression to delete the filename from a URL. I am not trying to get it down to the root domain, just remove the filename. I found this: \b\/.+ but.. That doesn't work, I tried moving the ./ around, but that neither. It's for uBot, so I don't know if it's funky or what. I'm not too experienced with regex. Thanks.