I need validate url. I need allow only main url sites, example:
http://example.com
https://example.com
I need prevent this urls:
http://example.com/page/blahblahblah
https://example.com/other/bloa
How I can validate only host of url and protocol?
Now I use this:
'url' => 'required|url',