Friday, May 4, 2012

C# Regex Unicode Matching

string s = "test this string";if (Regex.IsMatch(s, "^([ \u0020-\u02AF-zA-Z'])+$"))

{

return true;

}

else

{

return false;

}

Unicode Range can be found here:  http://www.columbia.edu/kermit/utf8-t1.html

Check This Out!

More Links to Good Information