ReplaceInContent(string, Func<Match, string>) Constructor
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.
Namespace
Statiq.Core
Containing Type
ReplaceInContent

Syntax

public ReplaceInContent(string search, Func<Match, string> contentFinder)

Parameters

Name Type Description
search string The string to search for (interpreted as a regular expression).
contentFinder Func<Match, string> A delegate that returns the content to replace the match.