Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
POINT\((?P<longitude>-?\d+\.\d+) (?P<latitude>-?\d+\.\d+)\)
/
gm

Description

Parse a WKT POINT string into longitude and latitude values

Submitted by anonymous - 3 years ago