.net Regular Expression to match any kind of letter from any language

Posted by pedro on Stack Overflow See other posts from Stack Overflow or by pedro
Published on 2010-06-01T12:52:53Z Indexed on 2010/06/01 12:53 UTC
Read the original article Hit count: 232

Filed under:
|
|

Which regular expression can I use to match (allow) any kind of letter from any language

I need to match any letter including any diacritics (e.g. á, ü, ñ, etc.) and exlude any kind of symbol (math symbols, currency signs, dingbats, box-drawing characters, etc.) and punctuation characters.

I've tried using \p{L}\p{M}*

but it doesn't work.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about regex