Fix tabbing so URL Handling actually Works

This is an urgent fix that needs to be pushed into main.
simplified URL stripping

This can be done with a simple RegExp;
also loading the RegExp into a var--DRY