Coding
Description:
Suggests a Regex that delivers your needs.
Example:
ooo regex match latitude and longitude values that fall within the pre defined range
Result:
/^((\s*-?\d{1,2}(?:.\d{1,6})?\s,\s-?\d{1,3}(?:.\d{1,6})?\s*)|(\s*-?\d{1,2}(?:.\d{1,6})?\s\s-?\d{1,3}(?:.\d{1,6})?\s*))$/g
This REGEX will match a latitude and longitude value that falls within the pre-defined range.