Currently using:
@"^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$
How can i make http://
not compulsory but if it does exist, it must be written as http://
Replace
^(ht|f)tp(s?)\:\/\/
by
^(?:(ht|f)tp(s?)\:\/\/)?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With