Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
GEOP\_(.*[_JGEM|_single_band])|(Present)\_(.*)\_Getech|^([a-zA-Z]+)\_([a-zA-Z0-9()-_ ]+)\_\.?(A[WE]\d{3}[SN]\d{3}_\d{3}[M]\d{4}[P]\d{2}[M]\d{3})[a-z]?\_(\d*[.]?\d*)?\_?(\d*[.]?\d*)?|^([a-zA-Z]+)\_(Palaeotopography_and_Palaeobathymetry|Palaeotopography_and_Paleobathymetry)\_(\d*[.]?\d*)\_(\d*[.]?\d*)|(.*)\_(Uplift_Accomodation)\_(\d*[.]?\d*)?\_?(\d*[.]?\d*)?\_(\d*[.]?\d*)?\_?(\d*[.]?\d*)?
"
gm

Description

no description available

Submitted by anonymous - 5 years ago