Regular Expression for Alphabetic Letter with accent

This might be a start

^([\w\d]+[ ]?)+$

\d matches the digits

\w matches "word characters". The.NET RegEx considers unicode characters as word characters. See:

I'm not sure what you mean by "one white space". This expressions allows one space, but not double-spaces, between words.

If validation occurs at server side, you can use the pattern:


\w in .Net is Unicode aware - it should include all letters.

Note that \w also include the underscore and other word-connectors. You can use [\p{L}\p{Nd}] instead of \w to disallow them.

See also: Character Classes


  1. Brown

    • 2015/4/28

    This might be a start ^([\w\d]+[ ]?)+$. \d matches the digits. \w matches "word characters". The.NET RegEx considers unicode characters as 

  2. Misael

    • 2018/6/30

    Regular expression to check if password is "8 characters including 1 uppercase letter, 1 special character, alphanumeric characters" 627 Regex for password must contain at least eight characters, at least one number and both lower and uppercase letters and special characters

  3. Maverick

    • 2019/5/9

    Accented Characters: DIY Character Range Subtraction. If your regex engine allows it (and many will), this will work: (?i)^(?:(?!

  4. Azariah

    • 2016/5/20

    [-'0-9a-zÀ-ÿ] allows dash, apostrophe, digits, letters, and chars in a wide accented range, from which we need to subtract The + matches that one or more times The $ anchor asserts that we are at the end of the string

  5. Enrique

    • 2017/4/22

    The most common syntax for checking alphabetic characters is A-z but what if the string contains accented characters? Characters like ğ and 

  6. Ivan

    • 2015/7/24

    Regular Expressions for the Rest of Us. Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work.

  7. Logan

    • 2019/9/9

    The @ character can be used directly in the pattern without escapement. It is not special at all since it has no meaning apart from being a printable character.

  8. Alessandro

    • 2019/12/13

    Only letters and numbers Match elements of a url Match an email address date format (yyyy-mm-dd) Validate an ip address Url Validation Regex | Regular Expression - Taha match whole word Match or Validate phone number nginx test special characters check Match html tag Extract String Between Two STRINGS Match anything enclosed by square brackets.

  9. Kash

    • 2019/7/9

    I need a validation a texbox in c# and using Regular Expression. I need allow: alphabetic letters UPPERCASE and lowercase or any ComBINAtion 

  10. Andres

    • 2018/12/10

    How to Type Spanish Letters and Accents (á, é, í, ó, ú, ü, ñ, ¿, ¡) 67.5K There are several ways to configure your keyboard to type in the Spanish accented letters and upside-down punctuation (á, é, í, ó, ú, ü, ñ, ¿, ¡) and which one you use depends on the frequency with which you need these letters.

  11. Petit

    • 2015/2/23

    I need a validation a texbox in c# and using Regular Expression. I need allow: alphabetic letters UPPERCASE and lowercase or any ComBINAtion 

  12. Roman

    • 2018/10/14

    Populate Test Alphabetic Data. The following script will add some test data that we will use to build and text the regular expressions. CREATE TABLE alphareg( Alphabetic VARCHAR(8000) ) INSERT INTO alphareg VALUES ('Two plus two equals four.') , ('But in Rome we must toe the line of fashion, spending beyond our means, and often on borrowed

  13. Muhammad

    • 2021/4/15

    Hi there, I'm trying to find regex which permit to allow letter, number, dashes, underscores and spaces. I tryied that. ^[a-zA-Z0-9,.

  14. Arlo

    • 2016/6/12

    Accented characters (umlauts etc.) are not found; see accent for some hints. EXPERTS: These are gnu egrep "regular expression" patterns (fuzzy searches 

  15. Aden

    • 2019/11/7

    Welisted the Common script first, out of alphabetical order. The reason for these two different ways of displaying an accented letter is that many 

Comments are closed.

Recent Posts