Keeping text prior to brackets from a subject line

Hi,

I am trying to remove text from brackets over from a subject line. The subject comes over like this:

Some text here blah blah blah [IN-0031959]

We only want to keep Some text here blah blah blah and drop the rest.

Just checking back if anyone has any input

Hey @cshillingburg

Sorry for the delay!

If the subject line will always contain [IN-XXXXXXXX], then I recommend using this to keep the first part of the subject line:

{{before_string email.subject "[IN-"}}

This will look for [IN-, and will return all the text before that.