Power Automate Community,
Good afternoon, I have had success extracting data from a body of an email and importing it into excel. My question today is there a way to do this also from a Subject line of an email? Here is my ask I need the # between these two brackets [ ] subject line that will be extracted and go into into a field in excel called incident # then I need to take the rest of the subject line after the "]" bracket and input it into excel in the 'Subject" field . A sample of my Subject line looks like this:
[210528] Final - SEV1 Transport Southwest Arkansas note my subject is always formatted the same
I tried to write this expression but it keeps getting an error -
To populate my Incident # field - first(skip(split(first(split(subject('Html_to_text'),'Incident #')),']'),1))
To populate my Subject field - first(skip(split(first(split(subject('Html_to_text'),'Subject')),']'),2))
As you can see I'm very new to writing expressions
Any assistance would be appreciated. Thanks in advance. I have learned so much from this message board I'm truly appreciate all of your assistance.
Owen