I want to validate the URL with the specified protocol.
HTTP and HTTPS type validation is not applicable for the below URLs.
If the URL is secure the see below.
rtmps://username:password@server:port/
Without a secured URL will be as follows.
rtmp://server:port/
I only need validation for the above 2 URL(s) only.
I have tried laravel's URL type validation but it is not validating for these protocols.
Also want to tell you only I am able to use is regex validation, because it is a request class of laravel where I have put the validation rule. laravel version 6.2