Answer the question
In order to leave comments, you need to log in
How to use a quantifier in a REGEXP group?
Why is it not possible to use such a construction?
(?<=https?).*
I want to match both http://blabla.com and http s ://blabla.com
Answer the question
In order to leave comments, you need to log in
Why is it not possible to use such a construction?
Because in the "back looking" there should be a clear number of characters
inhttps?
it turns out either 5 (https) or 4 (http)
https://regex101.com/r/tOiEx1/1
will be like 2 options for "back looking"
but, as I wrote earlier Rsa97 , in your case you don't need it)
quite simplyhttps?.*
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question