I have this list of domains
https://download.my-domain.com/auth/login
https://download.my-domain.com
http://localhost:60162/API/script/authbar.js
http://localhost:28173/logout.aspx
http://my-domain.com/logout.aspx
http://my-domain.com/logout.aspx/
http://my-domain.com/
http://my-domain.com
http://my-domain.tk/
http://my-domain.gov
download.my-domain.com/auth/login
www.download.my-domain.com/auth/login
http://www.google.com
https://www.google.com
http://www.google.com/
https://www.google.com/
and i tried
((\.)?[a-zA-Z0-9-]+\.([a-zA-Z0-9]{2,4}))/?
but it also detects the logout.aspx any help would be appreciated..
TYIA
Expected Result:
my-domain.com
localhost (without the port)
google.com
my-domain.tk
my-domain.gov
Usage:
For cookie domain