Client/Server side Validation class with RegEx (Update 4: 3/31/03)
Update (3/31/2003): Added IsNationalID to validate various types of ID's of various nationalities. Added IsEIN (which in turn calls IsNationalID). Corrected IsPhoneNumber for all three C#, VB.NET, and .js. Hopefully I won't need to correct it again and again anymore. Update (3/30/2003): Corrected an issue with the IsPhoneNumber() method and added IsPostalCode that calls IsZipCode, but is intended for non USA type postal codes. Also added as a javascript file for client-side validation. Update (3/29/2003): Corrected a C# IsNumber() issue with negative numbers; added IsBoolean and IsGender methods and optimized the IsCritiaAccepatble methed to make better use of RegEx's than previously. Update (3/27/03): Corrected major issues with the IsNumber() patterns and C# issues and added some features. Validate if the querystring values or Form object values in ASP.NET are of the expected *format* (Phone number, zip code, numeric, state, email address, etc.) using regular expression. Source code projects provided in both C# and VB.NET. Update for provides both client and server-side validation.
KI-Zusammenfassung: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload