highlightRegex

highlightRegex(String regex, Color highlightColor, TextHighlightingOptions options) function

Highlight all matches of regular expression in text frame text using specified color.

Parameters

NameTypeDescription
regexStringText of regular expression to get text to highlight.
highlightColorColorHighlighting color.
optionsTextHighlightingOptionsHighlighting options.