Summary
Replaces all occurrences of the search string in every input document
with the string value of the objects returned by the delegate. The delegate will be called
for each Match in the supplied regular expression.
Syntax
public Replace(string search, Func<Match, IDocument, Object> contentFinder)
Parameters
Name |
Type |
Description |
search |
string |
The string to search for (interpreted as a regular expression). |
contentFinder |
Func<Match, IDocument, Object> |
A delegate that returns the content to replace the match. |
Return Value