I'm working on a system which extracts info from an email and triggers events based on the input.
all the hard part is done regarding regex etc, as I originally built this outside of node red.
Now that I'm transporting it all over to node red, I need to use the inject node to test things are working as it'll be a pain to keep triggering the cameras.
I was hoping to copy the below text onto an inject node and go from there, but it imports it all as one line which doesn't work with my regex expressions.
I've tried adding '\n' in the place of where a new line should be, but that doesn't work either.
Please could someone advise how to get the exact below text into a manually injectable msg object?
P.S I can't just email node red from my email account as the NVR is on the local network and the node-red instance can't access external emails.
This is an automatically generated e-mail from your NVR. EVENT TYPE: intrusion EVENT TIME: 2022-10-19,15:35:34 NVR NAME: Tube NVR NVR S/N: 123456789123456789123456789 CAMERA NAME(NUM): Carpark TWDS That RD(D2) Carpark Pole(D4) Pole TWDS Warehouse(D8) Pole PTZ 1(D12)
Thank you in advance!