Regular Expressions 101

Community Patterns

0

Address

Golang
for the demo 2019/09/27
Submitted by anonymous - 4 years ago

saily find coords

0

Regular Expression
ECMAScript (JavaScript)

/
(?<lat0>\d+)[-|\s](?<lat1>\d+)[.|,|\s](?<lat2>\d+)['|\s]?(?<latDir>[N|n|S|s])[,|\s|\-|–]+(?<lon0>\d+)[-|\s](?<lon1>\d+)[.|,|\s](?<lon2>\d+)['|\s]?(?<lonDir>[E|e|W|w])
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago