nr-regexp-filter 1.0.1

Filter messages using a regexp on the given message property.

npm install nr-regexp-filter

A node that filters messages using the given property name and regular expression. The property name is deep-searched, so you can use something like "payload.my.prop" to test over "prop".

When the regexp matches the whole message will be returned, otherwise the whole message will be dropped.

Example: .(json|xml)$ matches everything that ends with .json and .xml

install

Go to /.node-red and launch

npm install nr-regexp-filter

It will creates a node_modules folder with the needed package. Restart the server to load the new palette.

Node Info

Version: 1.0.1
Updated 5 months, 1 week ago
License: MIT

Downloads

2 in the last day
7 in the last week
34 in the last month

Nodes

  • filter

Keywords

  • node-red
  • filter
  • regexp
  • regular expression

Maintainers

  • pirraste