Regular Expressions 101

Community Patterns

check if a string starts with an integer, then hyphen, then anything

0

Regular Expression
PCRE (PHP <7.3)

/
[0-9+]\-(.+)
/
i

Description

no description available

Submitted by anonymous - 9 years ago