Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
([hale]*\w*\.?\d*)([\.\/\-_\s]?)([stand]*)(\d+)([a-z]*)
/
gi

Description

Level one extraction of a hall and stand number in a email subject.

Submitted by kiro - 8 years ago