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À-ÖØ-öø-ÿ '\-\.]{1,22}$
Description
Should match just about any real name, either first name or last name -- even Jill St. John. Can't think of a name that has more than 22 characters. My home page: <A HREF="http://www.US-Webmasters.com/best-start-page/">http://www.US-Webmasters.com/best-start-page/</A>
Matches
Jill St. John | Jørnç | Mc O'Donald-Öztürk
Non-Matches
abc123 | Nobody! | @#$%^&
Author Rating: Not yet rated. W. D.
Source I put together from this site & other places on the 'Net
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: good code,but..
Name: Shilpa
Date: 1/23/2007 10:31:36 PM
Comment:
It would be grateful if this expression does not allow expression with dot at the begining


Title: good code
Name: eric leclaire
Date: 4/7/2004 4:20:23 PM
Comment:
i use your code for my program and it work very nice tanks for this code


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