I'm searching for regex pattern which includes specific domain name.
For example: <any symbols>google<any symbols>;
<any symbols>google<any symbols>
I'm start with
r'^(?:https?://)?(?:[^.]+.)? ....
How can I add domain name (google) in my regex?
Thanks for your help.
Solution that I found:
(https?://(.+?.)?google.[a-zA-Z]{2,}(/[A-Za-z0-9-._~:/?#[]@!$&'()*+,;=]*)?)
regex test
2.1m questions
2.1m answers
60 comments
57.0k users