Method Find
- Namespace
- SoftZenPdf.Redact
- Assembly
- SoftZenPdf.Redact.dll
Find(Regex)
Finds text matching a regular expression on every page, without marking it.
public IReadOnlyList<RedactionMatch> Find(Regex pattern)
Parameters
patternRegexThe pattern. A match does not cross pages but may cross lines (use
\sor\nfor the line break).
Returns
- IReadOnlyList<RedactionMatch>
The matches, page by page, each with the areas around its glyphs.
Find(string, RegexOptions)
Finds text matching a regular expression on every page, without marking it.
public IReadOnlyList<RedactionMatch> Find(string pattern, RegexOptions options = RegexOptions.None)
Parameters
patternstringA .NET regular expression.
optionsRegexOptionsRegular expression options, such as IgnoreCase.