Regular Expressions 101

Community Patterns

Username

-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 - 9 years ago