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

GPS Coordinates

Matches a latitude,longitude coordinate pair separated by a comma.

Map input fieldsGeofencingDelivery address parsing
/
/
Test String
3 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)
\s*space\s — whitespace (space, tab, newline…) — repeated zero or more times (greedy) · * — zero or more times (greedy)
,,',' — literal character
\s*space\s — whitespace (space, tab, newline…) — repeated zero or more times (greedy) · * — zero or more times (greedy)
-?-'-' — literal character — repeated zero or one time (optional) · ? — zero or one time (optional)
(…)Group #4Capturing group — captures matched text for reuse or extraction
11'1' — literal character
[…]Character class […]Matches any single character listed in this set
\ddigit\d — digit (0–9)
(…)?Group #5Capturing 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
[…]?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 #6Capturing 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
11'1' — literal character
88'8' — literal character
00'0' — literal character
(…)?Group #7Capturing group — captures matched text for reuse or extraction — repeated zero or one time (optional) · ? — zero or one time (optional)
Pattern: 85 charsInput: 52 chars
100% client-side · private

Valid Examples

  • 51.5074,-0.1278
  • 40.7128, -74.0060
  • -33.8688, 151.2093

Invalid Examples

  • 91.0,-0.1278
  • 51.5074,-181.0
  • abc,def