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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Pattern Title
Expression
^([a-zA-z\s]{4,32})$
Description
This is the simplest RegEx for validating someone's name. The name can contain only alphabets(in either case) & should be of minimum length 4 & maximum length 32. Only white spaces are allowed apart from alphabets.
Matches
some body | hey there | hello
Non-Matches
hi | hey 27 | hell?
Author Rating: The rating for this expression. Amit Gupta
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Title: fdsfdfd
Name: ssad
Date: 10/31/2013 7:56:52 AM
Comment:
sadsds


Title: fdsfdfd
Name: ssad
Date: 10/31/2013 7:54:06 AM
Comment:
sadsds


Title: fdsfdfd
Name: ssad
Date: 10/31/2013 7:53:35 AM
Comment:
sadsds


Title: arjan
Name: arjan
Date: 4/6/2005 2:07:12 PM
Comment:
lklj lkj lkj65^%$^%$%^$


Title: 345345345
Name: 345345
Date: 2/1/2005 7:46:45 AM
Comment:
3453454


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