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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Portuguese Last Names
Expression
^[A-Z][a-z]+((eir|(n|l)h)(a|o))$
Description
I noticed that a last name is Portuguese if it ends in -eira, -eiro, -nha, or -nho. I know there are other Portuguese names that don't end with these, but I haven't yet come across any other foreign last names (besides Portuguese/Brazilian) that end in those 4.
Matches
Coelho Cunha Pereira Texeira Carreiro
Non-Matches
Ferrero Bandera Singh Bacalao
Author Rating: Not yet rated. Mickael Caruso
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: Someone
Name: André Barreto
Date: 10/14/2013 12:48:25 PM
Comment:
I'm a Portuguese Citizen, born and raised in Portugal... You should insert that as Standard Default but not generelize soo much.


Title: Someone
Name: André Barreto
Date: 10/14/2013 12:48:19 PM
Comment:
I'm a Portuguese Citizen, born and raised in Portugal... You should insert that as Standard Default but not generelize soo much.


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