Fix RegExp url replacement

Fixed for accounts that don't have a custom domain