Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(\d{5})(.{7})(.{5})\s(\-{4}|[A-Z]{4})\s(.{20})\s([\d.\s]{6})\s([\d.\-\s]{7})\s([\d\-\s]{5})\s.*$
/
gm

Description

Mosmix Weatherstations Data Id, Name, Lat, Lon

Submitted by Stefc - 3 years ago