Regular Expressions 101

Library entries

saily find coords

Vote

0

Regular Expression
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 - 2 years ago