highlightRegex
highlightRegex(String regex, Color highlightColor, TextHighlightingOptions options) function
Highlight all matches of regular expression in text frame text using specified color.
Parameters
| Name | Type | Description |
|---|---|---|
| regex | String | Text of regular expression to get text to highlight. |
| highlightColor | Color | Highlighting color. |
| options | TextHighlightingOptions | Highlighting options. |