NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Regex.Replace (String, MatchEvaluator)

position .

[Visual Basic]
Overloads Public Function Replace( _
   ByVal input As String, _
   ByVal evaluator As MatchEvaluator _
) As String
[C#]
public string Replace(
   string input,
   MatchEvaluator evaluator
);
[C++]
public: String* Replace(
   String* input,
   MatchEvaluator* evaluator
);
[JScript]
public function Replace(
   input : String,
   evaluator : MatchEvaluator
) : String;

Parameters

input
String to be modified.
evaluator
[To be supplied.]

Return Value

The modified character string.

Remarks

The RegexMatchEvaluator type is a delegate that takes a single RegexMatch as input and returns a string. It is declared as follows.

public delegate String RegexMatchEvaluator(Match match);

See Also

Regex Class | Regex Members | System.Text.RegularExpressions Namespace | Regex.Replace Overload List