mahmoudghalayini's avatar

Laravel URL Validation

I can't find any validation rules for URL validation, any ideas? Thanks in advance.

0 likes
8 replies
mahmoudghalayini's avatar

found this 'regex:/^(https?://)?([\da-z.-]+).([a-z.]{2,6})([/\w .-])/?$/'

mahmoudghalayini's avatar

@michaloravec Thank you very much for explanation but I tried url but i kept giving me link format is invalid while I was trying to submit www,google.com idk why

Please or to participate in this conversation.