Skip to main content

Wrap Nodes Using Regex

WRAP_TEXT_NODES_MATCHING

Wraps the text nodes matching the regex with the specified element.

Parameters

  • css (String): CSS selector
  • regex (String): REGEX expression
  • elementName (String): The name of the element
  • topicText (String): Use $TOPIC_XHTML
  • class (String): The class value (optional)
  • trackChanges (String): true/false

Returns

Flare XHTML