Highlighting Regex Match

Hi,

We can use System.Text.RegularExpressions.Capture class to find position index and length of the match.

The following is a simple sample, FYI.

This sample outputs the following html.

img20211004-2

Sample20211004-2.zip (2.3 KB)

Regards,

1 Like