0

I am doing URL Validation for input field.

Below is the regex being used for the validation. But it is not accepting uppercase letters for https.

^(https?:\/\/)?([\da-zA-Z\.-]+)\.([a-zA-Z\.]{2,6})([\/\w \.-]*)*\/?$

we can make the letter to lowercase on blur but how we can mange in regex.

VLAZ
  • 26,331
  • 9
  • 49
  • 67

0 Answers0