Move check for http / https to beginning to return valid links immediately. Update regex for domain check to check for all characters, including numbers and hyphens, before any backslashes.