Allows replacement with a regular expression.
More...
|
string | Replace (string html) |
| Replaces occurrences of the pattern in the provided HTML with the replacement string.
|
|
string | Replace (string html) |
| Replace specific matches in an HTML string.
|
|
|
string | Pattern [get] |
| Gets the pattern to match in the HTML.
|
|
string | Replacement [get] |
| Gets the replacement string for the matched pattern.
|
|
Allows replacement with a regular expression.
◆ Replace()
string Html2Markdown.Replacement.PatternReplacer.Replace |
( |
string |
html | ) |
|
|
inline |
Replaces occurrences of the pattern in the provided HTML with the replacement string.
- Parameters
-
html | The HTML content to process. |
- Returns
- The processed HTML with replacements.
Implements Html2Markdown.Replacement.IReplacer.
◆ Pattern
string Html2Markdown.Replacement.PatternReplacer.Pattern |
|
get |
Gets the pattern to match in the HTML.
◆ Replacement
string Html2Markdown.Replacement.PatternReplacer.Replacement |
|
get |
Gets the replacement string for the matched pattern.
The documentation for this class was generated from the following file: