Skip to main content

Hi, I'd like to remove a substring and all following text from a string, so that for example "This is an example number one" and "This is an example number two" become "This is an example". I looked at the Formatter and regex expressions but to no avail. Thanks for your help.

Hello @Patrick.emin 

Try exploring Code By Zapier you might be able to achieve this specific usecase 


Thanks, I used in fact the formatter Split function, with the test looks like I’ll manage with that.


I used in fact the formatter Split function, with the test looks like I’ll manage with that.

Awesome! Thanks for keeping us in the loop for how you sorted this, @Patrick.emin!

For anyone following along I also wanted to also include Satya’s solution as well. 🤗

Try exploring Code By Zapier you might be able to achieve this specific usecase