Mono Class Library: System.Text.RegularExpressions.Regex Overview | Members

System.Text.RegularExpressions.Regex.IsMatch Method

This method uses the given pattern against the input and returns true if it matches. It returns false if the input does not match the pattern.

public static bool IsMatch (string input, string pattern)

Parameters

input
The input string to be matched against.
pattern
A regular expression to match against the input parameter.

Returns

Returns true if the input string matches the regular expression defined in pattern.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Text.RegularExpressions
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0