Regular Expressions 101

Community Patterns

Lat Long DD*MM'SS.S"

0

Regular Expression
PCRE (PHP <7.3)

/
([+-])?(\d\d)\*(?:([0-5]\d)'(?:((?:[0-5]\d)(?:\.\d+)?))?")?([NS])?\/([+-])?([01]\d\d)\*([0-5]\d)'(?:(?:((?:[0-5]\d)(?:\.\d+)?))?")?([EW])?\s
/
g

Description

no description available

Submitted by anonymous - 7 years ago