Regular Expressions 101

Community Patterns

1...567

Community Library Entry

0

Regular Expression
Python

r"
(?P<nom>^[\w\d]?)\/(?P<latfield>(?P<latflag>[NS])(?P<latval>\d{1,2}d[0-5]\d?(\.\d*)?))\/(?P<lonfield>(?P<lonflag>[EW])(?P<lonval>[01]?\d{1,2}d[0-5]\d?(\.\d*)?)$)
"
s

Description

Text fields describing a name and positions

Submitted by bruno.piguet@meteo.fr - 11 years ago