Highlighter

Highlight text in a string based on a search term and using <mark> tags.

Example

General usage

Example


Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur unde suscipit, quam beatae rerum inventore consectetur.
Download: 

Documentation

FluentHighlighter Class

Parameters

Name
Type
Default
Description
CaseSensitivebool
False
Gets or sets a value indicating whether the highlighted text is case sensitive.
Delimitersstring
Gets or sets the list of delimiters chars. Example: ' ,;'.
HighlightedTextstring
Gets or sets the fragment of text to be highlighted.
Textstring
Gets or sets the whole text in which a fragment will be highlighted.
UntilNextBoundarybool
False
If true, highlights the text until the next regex boundary.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙