Regular Expressions 101

Library entries

match 8 character device name with restrictions

Vote

1

Regular Expression
javascript

/
^[A-Za-z][A-Za-z0-9-_]{0,6}[A-Za-z0-9]{0,1}$
/
gmi

Description

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