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-ZÀ-Ü]{1}[a-zà-ü']+\s[a-zA-Zà-üÀ-Ü]+((([\s\.'])|([a-zà-ü']+))|[a-zà-ü']+[a-zA-Zà-üÀ-Ü']+))
Description
Checks if has the first and the last name, and check the capital letters. Use with the RegExp.test method
Matches
Carlos Rodrigues | Cá de Laaa | Crras R. L. Rodrigües
Non-Matches
aaäA
Author Rating: Not yet rated. Carlos R. L. Rodrigues
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: accentuation not allowed
Name: user
Date: 12/15/2003 10:10:54 AM
Comment:
It does not allow chars like á, í, ó...


Title: Re User
Name: Carlos R. L. Rodrigues
Date: 10/21/2003 5:52:15 PM
Comment:
Thanks for the post, now it's updated. (^[A-Z]{1}[a-z]+\s[A-Z]{1}((([\s\.])|([a-z]+))|[a-z]+[a-zA-Z]+))


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