I'm looking for a similar solution and this is what I have so far:
^[\s\u00c0-\u01ff\w,\-\(\)\.]{2,70}$
\w permits word characters A-Za-z0-9 and underscore
\u00c0-\u01ff permits Unicode characters required by other
scripts/alphabets. (Not sure if this covers word characters of all
scripts.)
Spaces, commas, hyphens, periods and parentheses are the other
characters that are permitted.
2-70 characters long.
Kris
-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan
Sent: Tuesday, March 13, 2007 12:57 PM
To: [email protected]
Subject: [ADVANCED-DOTNET] Regular experession and non latin characters
Hi,
I have the following regular expression that I use to allow valid
characters.
^[A-Za-z0-9.,()\-\'\s]{3,}
The problem is I now need to open it out to include non latin characters
like acute and grave etc.
I have no idea how to do this in a regular expression.Can anyone help
me?
Cheers
Paul
[EMAIL PROTECTED]
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com