Regular Expressions 101

Community Patterns

Storm Data Event Types

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 - 3 years ago