Skip to content

The "Matches Text" Node ​

Checks if a search term appears in a text

Matches Text

  • Result
  • Algorithm
  • Text
  • Search
  • Case Sensitive
  • Word Boundary

Inputs ​

  • Algorithm − The method to run the search with.
    • StartsWith and EndsWith only match the Search term if it appears at the beginning or the end of the Text respectively.
    • Contains matches the Search term anywhere, including the beginning and the end of the Text.
    • RegExp uses the Search term as a ECMAScript (JavaScript) regular expression to search the Text.
  • Text − The text to search through.
  • Search − The term to search for.
  • Case Sensitive − Whether or not to search for the exact capitalization used in the Search term. Defaults to false, meaning terms are matched irrespective of their capitalization.
  • Word Boundary − Whether or not to match "the whole term". E.g. The search term "ban" with Word Boundary set to false would match in "banana". When Word Boundary set to true, it would not match. Defaults to true. This does nothing when RegExp is selected for Algorithm.

Outputs ​

  • Result − true if the search term did match, false if not.