Split String message

This is an example to extract the area from the input string, which should give you a clue as to extract the other data.

[{"id":"be7c3c0a.e2fce","type":"inject","z":"c53060.842a0fa","name":"","topic":"","payload":"#213444|N/ri1/CQ","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":940,"wires":[["5f0c9787.302ac8"]]},{"id":"5f0c9787.302ac8","type":"function","z":"c53060.842a0fa","name":"","func":"var str = msg.payload;\nvar area = str.slice(10, -3);\nmsg.payload = area;\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":940,"wires":[["e9b1e611.98c878"]]},{"id":"e9b1e611.98c878","type":"debug","z":"c53060.842a0fa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":520,"y":940,"wires":[]}]

Thank you!!

Will try it tomorrow