Date: 4/18/2008 11:17:47 AM
Remember, when you're putting regex strings into .net, you can save a lot of headache if you make it a habit to do @"^[^\\/?*\"\'><:|]*$"
Note on the @ symbol, meaning the string is literal, and it won't try to look at any code contained inside when its being declared.
Date: 5/3/2007 5:46:48 PM
in .net the pattern translates to:
string strRegex = "^[^\\/?*\"\'><:|]*$";
Regex re = new Regex(strRegex);