Hey, wondering if there’s a simple solution to this. I have some text in my trigger that I want to check for specific keywords. Let’s say the text could be “asdf London”, “dfghd Paris” or “asdfsdf New York”.
What I want to do is extract “London” “Paris” or “New York” from the text. There’ll only ever be one of these keywords included in each submission. Is there a way to do this simply? There’s only going to be a handful of these keywords (about ten) so in theory I think I could make 10 formatter modules (?) but wondering if there’s a better way.