ExtractRegularExpression Class

Extracts text from the response that matches the regular expression pattern.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)


Public Class ExtractRegularExpression _
    Inherits ExtractionRule
Dim instance As ExtractRegularExpression
public class ExtractRegularExpression : ExtractionRule
public ref class ExtractRegularExpression : public ExtractionRule
public class ExtractRegularExpression extends ExtractionRule


This extraction rule provides great flexibility for searching text responses for an occurrence of a string.

For more information about regular expression characters, see Character Classes.

Inheritance Hierarchy


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


ExtractRegularExpression Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace

Other Resources

Working with Web Tests

How to: Create a Custom Extraction Rule

How to: Add an Extraction Rule to a Web Test

Regular Expressions as a Language

Character Classes