Regular Expressions 101

Community Patterns

Longitude Regex

0

Regular Expression
PCRE (PHP <7.3)

/
^(-|\+)??(180(\.0+?)??|(1[0-7]|\d)\d??(\.\d+?)??)$
/
gm

Description

no description available

Submitted by Katrina Theodosopoulos - 6 years ago