I’m trying to set a regexp which will check the start of a string, and if it contains either http:// or https:// it should match it.

How can I do that? I’m trying the following which isn’t working:

^[(http)(https)]://

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *