More regex rules for switchUrlToRemote method