javascript regex http or https 24 Javascript Regex Http Or Https 27/9/2010 · Regex if you want to ensure URL starts with HTTP/HTTPS: https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA… Written By Kathleen D. Walker Monday, July 18, 2022 Add Comment Edit