I was trying to put range validation for latitude and longitude by below pattern validation.
For Longitude the range is from -180 to 180 when I am trying to give something like 100 or -100 its giving me an error message
^-?(?:180(?:(?:\.0{1,4})?)|(?:[0-9]|[1-9][0-9]|1[1-7][0-9])(?:(?:\.[0-9]{1,4})?))$