Regex w celu wyodrębnienia prawidłowego HTTP lub HTTPS

^https?:\/\/(?!.*:\/\/)\S+
DreamCoder