Categories

Versions

Filter Tokens (by Content) (Text Processing)

Synopsis

Filters tokens based on their content.

Description

This operator filters tokens based on their content. A token is kept in the document, if the token either equals, contains, or does not contain the given value.

Input

  • document

    The document port.

Output

  • document

    The document port.

Parameters

  • conditionThe condition a document must fulfill to be kept.
  • stringThe string that should be compared to.
  • regular expressionThe regular expression for that should match.
  • case sensitiveSpecifies whether the comparison should be case-sensitive.
  • invert conditionSpecifies whether comparison outcome should be inverted.