Hello,
I'm having a little trouble with what the right expression is to grab a string from between two points in an email subject.
The Subject of the emails that i have coming in are as follows as an example
"New Email (Text Word) has come in"
What i am trying to do is grab the string between ( and )
I have this as the expression but it keeps failing stating that the length cannot be negative.
substring(triggerbody()?['Subject'],add(indexOf(triggerbody()?['Subject'],'('),1),sub(lastIndexOf(triggerbody()?['Subject'],')'),add(indexOf(triggerbody()?['Subject'],')'),1)))I have had a look at some of the other posts that talk about parsing text from an email subject but i couldnt get those suggestions to work for me.
Can someone tell me what i am doing wrong in my expression.