Greek characters, Regular Expressions, and C#

Posted by craigmoliver on Stack Overflow See other posts from Stack Overflow or by craigmoliver
Published on 2010-03-23T17:43:54Z Indexed on 2010/03/23 18:43 UTC
Read the original article Hit count: 476

Filed under:
|
|

I'm building a CMS for a scientific journal and that uses a lot of Greek characters. I need to validate a field to include a specific character set and Greek characters. Here's what I have now:

[^a-zA-Z0-9-()/\s]

How do I get this to include Greek characters in addition to alphanumeric, '(', ')', '-', and '_'?

I'm using C#, by the way.

© Stack Overflow or respective owner

Related posts about regex

Related posts about greek-characters