1

I was wondering what a regular expression that allows diacritic characters look like in .NET. Is there a shorthand for all the diacritic characters?

dalawh
  • 886
  • 8
  • 15
  • 37
  • 1
    *Only* diacritics (like `´`)? Or only letters with diacritics (like `é`)? Or letters with or without diacritics (like `e` or `é`)? – Tim Pietzcker Oct 10 '13 at 15:08
  • @TimPietzcker I am referring to letters with accents over them, but I don't mind knowing about diacritics without the accents. – dalawh Oct 10 '13 at 15:35

1 Answers1

1

You may try like this(As suggested by Tim in comments):-

^\p{L}*$

Also check out this.

Rahul Tripathi
  • 168,305
  • 31
  • 280
  • 331