Problem Statement
A description of the problem can be found on Hackerrank.
Solution
My regex for validating longitude and latitude pairs:
\([+-]?((90(\.0+)?)|([1-8][0-9](\.[0-9]+)?)|([0-9](\.[0-9]+)?)),\s*[+-]?(((([1-9][0-9])|([0-9]))(\.[0-9]+)?)|(1((80(\.0+)?)|([0-7][0-9](\.[0-9]+)?))))\)
All solutions are also available on my GitHub.