Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
ECMAScript (JavaScript)

/
^[_a-zA-Z0-9]+$
/

Description

^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.

Submitted by anonymous - 10 years ago