| Title |
Test
Find
Latitude Validation
|
| Expression |
^-?([1-8]?[1-9]|[1-9]0)\.{1}\d{1,6} |
| Description |
I was inspired by this regexp - Matches a whole number between 1 and 20 inclusively - because it was doing something I could not find elsewhere so this is how I expanded it to validate lat values |
| Matches |
90.0,-90.9,1.0,-23.343342 |
| Non-Matches |
90, 91.0, -945.0,-90.3422309 |
| Author |
Rating:
Jason Rutberg
|
| Source |
|
| Your Rating |
|