System.Web.RegularExpressions Namespace

The System.Web.RegularExpressions namespace provides precompiled regular expressions that can be used to parse ASP.NET files. All members of the System.Web.RegularExpressions namespace are descendants of the Regex class.

Classes

AspCodeRegex

Provides a regular expression to parse an ASP.NET code block.

AspEncodedExprRegex

Provides a regular expression to parse an encoded ASP.NET expression block.

AspExprRegex

Provides a regular expression to parse an ASP.NET expression block.

CommentRegex

Provides a regular expression to parse an ASP.NET comment block.

DatabindExprRegex

Provides a regular expression to parse an ASP.NET data-binding expression.

DataBindRegex

Provides a regular expression to parse an ASP.NET data binding expression.

DirectiveRegex

Provides a regular expression to parse an ASP.NET directive.

EndTagRegex

Provides a regular expression to parse an end tag of an HTML element, an XML element, or an ASP.NET web server control tag.

GTRegex

Provides a regular expression to match a greater than (>) character in an ASP.NET web page.

IncludeRegex

Provides a regular expression to parse an ASP.NET #include directive.

LTRegex

Provides a regular expression to look for a less than (<) character in an ASP.NET web page.

RunatServerRegex

Provides a regular expression to parse an ASP.NET runat attribute.

ServerTagsRegex

Provides a regular expression to parse ASP.NET server tags.

SimpleDirectiveRegex

Provides a regular expression to parse an ASP.NET data directive.

TagRegex

Provides a regular expression to parse the opening tag of an HTML element, an XML element, or an ASP.NET Web server control tag.

TagRegex35

Provides a regular expression to parse the opening tag of an HTML element, an XML element, or an ASP.NET Web server control tag, for applications that target the .NET Framework 3.5 SP1 and earlier versions.

TextRegex

Provides a regular expression to match all characters until the next less than (<) character.