Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
((?:(?:(?:(?:Cass\.?(?:(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:(?:fr.)|(?:aud\.(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))pl(?:é|e|&eacute;)n\.)))?)|(?:C\.?E\.?D\.?H\.?)|(?:Cour eur\. D\.?H\.?)),?))(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:(?:(?:1<sup>er?<\/sup>|[0-9][0-9]?)(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:janvier|f(?:é|e|&eacute;)vrier|mars|avril|mai|juin|juillet|ao(?:û|u|&ucirc;)t|septembre|octobre|novembre|d(?:é|e|&eacute;)cembre|januari|februari|maart|april|mei|juni|juli|augustus|sept(?:ember|\.)|oktober|nov(?:ember|\.)|dec(?:ember|\.))(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))([1-2][0-9]{3}),?))(?:(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:[A-Z]+\.[0-9]+\.[0-9]+\.[A-Z]+\.))?(?:,?(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))))((?:<[^>]*>)?(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:Larcier(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))[Cc]ass(?:ation)?\.?)(?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:<\s*\/[^>]*>)?(?:\.?,?(?:(?:(?:&nbsp;| | |\\1e|\\1f)*)))?(?:(?:(?:[nN]rs?\.?|(?:[nN](?:(?:(?:&nbsp;| | |\\1e|\\1f)*))<sup>o<\/sup>\.?)|[nN](?:(?:(?:&nbsp;| | |\\1e|\\1f)*))(?:°|˚|o)s?\.?|[Aa]fl\.))(?:(?:(?:&nbsp;| | |\\1e|\\1f)*)))([0-9]+))
/

Description

Hyperlink

Submitted by anonymous - 9 years ago