Regular Expressions 101

Library entries

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

Vote

0

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by anonymous - 6 years ago