Regular Expressions 101

Community Patterns

match HTML-safe strings with at least one alphanumeric character

2

Regular Expression
ECMAScript (JavaScript)

/
(?!^\d+$)^[a-zA-Z\d\-\_]*$
/
g

Description

no description available

Submitted by anonymous - 8 years ago