Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Geo
#latitude
#geo
#coordinates
#location

Latitude

Matches a geographic latitude coordinate between -90 and +90 degrees, with up to 6 decimal places.

GPS coordinate inputMap integrationsLocation-based services
/
/
Test String
7 matches
-?-'-' — literal character — repeated zero or one time (optional) · ? — zero or one time (optional)
(…)Group #1Capturing group — captures matched text for reuse or extraction
[…]?Character class […]Matches any single character listed in this set — repeated zero or one time (optional) · ? — zero or one time (optional)
\ddigit\d — digit (0–9)
(…)?Group #2Capturing group — captures matched text for reuse or extraction — repeated zero or one time (optional) · ? — zero or one time (optional)
||| — alternation: matches expression on left OR right
99'9' — literal character
00'0' — literal character
(…)?Group #3Capturing group — captures matched text for reuse or extraction — repeated zero or one time (optional) · ? — zero or one time (optional)
Pattern: 38 charsInput: 32 chars
100% client-side · private

Valid Examples

  • 51.5074
  • -33.8688
  • 0
  • 90
  • -90.000000

Invalid Examples

  • 91.0
  • -90.1
  • abc
  • 51.5074.12