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)]://
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)]://