
Hello All,
I'm building a Power Automate that he get the title of an email and return specific words, example the title is :
Documents for transport CAI n° 1234567– Invoice 0000000000 of 06.04.2022 - AAA1001 - L ORO PARIS CO LTD 12F
and in return i want to have only : 1234567 - AAA1001
Do you have any ideas how to break the title and get only these 2 informations ?
Thank you,
I am making the assumption that your strings will be formatted the same way each time. Also, the dashes are not the same throughout - the first dash is different from the others.
See my example below. I could have combined everything into one Compose action/expression but that would have been hard to understand and really ugly...