Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[\w\-. ]{1,40}$
/

Description

Simple file names. Special chars allowed (-_.) {3, 40}

Submitted by CADII - 9 years ago