HTML2Markdown
Converts HTML to Markdown syntax.
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
Html2Markdown.Replacement.PatternReplacer Class Reference

Allows replacement with a regular expression. More...

Inheritance diagram for Html2Markdown.Replacement.PatternReplacer:
Html2Markdown.Replacement.IReplacer Html2Markdown.Replacement.BodyTagReplacer Html2Markdown.Replacement.BreakTagReplacer Html2Markdown.Replacement.DocTypeReplacer Html2Markdown.Replacement.HeadTagReplacer Html2Markdown.Replacement.HorizontalRuleTagReplacer Html2Markdown.Replacement.HtmlCommentReplacer Html2Markdown.Replacement.HtmlTagReplacer Html2Markdown.Replacement.LinkTagReplacer Html2Markdown.Replacement.MetaTagReplacer Html2Markdown.Replacement.ScriptTagReplacer Html2Markdown.Replacement.TitleTagReplacer

Public Member Functions

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.
 

Properties

string Pattern [get]
 Gets the pattern to match in the HTML.
 
string Replacement [get]
 Gets the replacement string for the matched pattern.
 

Detailed Description

Allows replacement with a regular expression.

Member Function Documentation

◆ Replace()

string Html2Markdown.Replacement.PatternReplacer.Replace ( string  html)
inline

Replaces occurrences of the pattern in the provided HTML with the replacement string.

Parameters
htmlThe HTML content to process.
Returns
The processed HTML with replacements.

Implements Html2Markdown.Replacement.IReplacer.

Property Documentation

◆ 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: