Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
((?<!non )(?<!non-)(?<!marine )((thunderstorms? ?|tstm ?)(?=winds?)|(thunderstorms?|tstm)))(?! ?hail)
/
gm

Description

This is a regex for the above mentioned data clean up

Submitted by anonymous - 4 years ago