RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 3
Title Test Details user name which allow some special char
Expression
^[a-zA-Z0-9_.-@$]*$
Description
User name which will allow _ . @$And -
Matches
gcccbb@ghg$
Non-Matches
bb#Dntn^b,m
Author Rating: Not yet rated. Purushottam
Title Test Details Name validation
Expression
^(?=.{3,30}$)[A-Za-z0-9]+(?:\s[A-Za-z0-9]+)+(?:\s[A-Za-z0-9]+)?$
Description
it'll will match all name which having multiple spaces
Matches
jhon kater hha
Non-Matches
jhon Kater
Author Rating: Not yet rated. Purushottam
Title Test Details user Name Validation
Expression
^(?=.{3,30}$)[A-Za-z0-9]+(?:(\\s|@|#|&|_|)[A-Za-z0-9]+)?$
Description
It'll match all the pattern having alpha Numeric and following special char @ # $ & _
Matches
chch_hdhd, chch@hdhd
Non-Matches
chch_hdhd#jj, chch_hdhd#jj, @chchhdhd
Author Rating: Not yet rated. Purushottam
   Displaying page 1 of 1 pages; Items 1 to 3

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials