Thank you for taking the time to read this.
I am working at building a flow that extracts text from received email. The email is plain text and all the examples I have come across are html and use the html to text option. The text I am looking for is the following.
Notification Source: Service
Notification Type: RECOVERY
Service: NotRealService
Host: NotRealHost
Host Alias: NotRealHostAlias
Address: x.x.x.x
I have followed the examples using the html to text but, text becomes one line with no delimiters.
Notification Source: Service Notification Type: RECOVERY Service: NotRealService Host: NotRealHost Host Alias: NotRealHostAlias Address: x.x.x.x
I tried splitting the output of the compose but the split function does not like that. The information after the colon varies in length. Normally I would loop through the rows and match the text to the left of the colon, then assign accordingly.
Ideally what I am trying to do is find the data Host: (and other data listed above) and take everything to the right of the colon. and assign it to a variable. var_Host, var_Service, and so on.
I am going to keep at it and search more through this forum.
Any help is appreciated. Thank you for your time.
Paul