Return to HomePage



Regular Expressions Lab Modules

The regular expressions lab modules show you how to use regular expressions to validate input and data.

Contents

* Objectives
* Video
* Lab
* Recommended Guidance
* Feedback

Objectives

* Use an interactive tool to develop regular expression patterns for validation.
* Use the .NET Framework’s Regex class to validate user input strings.
* Discover guidance at the Microsoft Patterns & Practices website

Video

The video is a small wmv file download:
* Video Demonstration Regular Expressions

Lab

The lab is small zip that you need to extract to see the example code:
* Lab Project Files RegularExpressionLab.zip

Recommended Guidance

* How To: Protect From Injection Attacks in ASP.NET
* How To: Use Regular Expressions to Constrain Input in ASP.NET
* Design Guidelines for Secure Web Applications (See "Input Validation" section)
* Architecture and Design Review for Security (See "Input Validation" section)
* Security Guidelines: ASP.NET 2.0 (See "Input and Data Validation" section)


Feedback

* Send mail to labmods at microsoft.com



Return to HomePage
Microsoft Communities