Updating regexs to work with http or https