node-red-contrib-filter-else
Fork from node-red-filter
Original work by pste (https://github.com/pste/node-red-filter) A node that filters messages using the given property name and regular expression. When the regexp matches the whole message will be returned, otherwise it will be sent to the second output.
[{"id":"864468e7.79bb98","type":"filter","z":"8d67b3ee.72985","name":"gate keeper","property":"payload","filter":"secret","ignorecase":true,"x":854.5,"y":353,"wires":[["f518c84f.0ae738"],["e342ced4.1cbd3"]]},{"id":"65d54bc8.9a2ab4","type":"inject","z":"8d67b3ee.72985","name":"is this the secret message?","topic":"","payload":"SeCrEt","payloadType":"str","repeat":"","crontab":"","once":false,"x":618.5,"y":331,"wires":[["864468e7.79bb98"]]},{"id":"ab8607c.f5479f8","type":"inject","z":"8d67b3ee.72985","name":"or this one?","topic":"","payload":"WhatEver","payloadType":"str","repeat":"","crontab":"","once":false,"x":666,"y":374,"wires":[["864468e7.79bb98"]]},{"id":"f518c84f.0ae738","type":"debug","z":"8d67b3ee.72985","name":"Let me in","active":true,"console":"false","complete":"payload","x":1019.5,"y":327,"wires":[]},{"id":"e342ced4.1cbd3","type":"debug","z":"8d67b3ee.72985","name":"Go away","active":true,"console":"false","complete":"payload","x":1020,"y":374,"wires":[]}]