How to match the international alphabet (English a-z, + non English) with a regular expression?

regex, unicode

Solution

Since you specifically ask for Unicode, `\p{L}` is the shortcut for a Unicode letter. Not all regex flavors support this syntax, though. .NET, Perl, Java and the JGSoft regex engine will, Python won't, for example.

So, for example `\b\p{L}+\b` will match an entire word of Unicode characters.

Problem

I want to allow only entered data from the English alphabet and from the alphabet from Germany. Like `öäü` OR France like `áê` or Chinese like ... How can I configure my regular expression so it accepts all alphabetical characters from the international alphabet?

Original source