Removing spaces when message is sent to whats via O365 (email) and Text Parser

What are you trying to achieve?

My goal is to have the messages sent to whatsapp with less spaces

Steps taken so far

All is setup and working but I don’t know how to reduce the spaces when message is delivered to Whatsapp

Screenshots: scenario setup, module configuration, errors


1 Like

I have managed to get Text Parser to convert from HTML to text but there is just to many spaces in the whatsapp message.

Hey Carlo,

you can use the Replace Text parser module with the following formula in the Pattern: (\r?\n){2,}

And replace it with {{newline}}

This will remove the empty lines in the text string.

Hi Stoyan,

Thank you very much for your response, its highly appreciated. As I am still new to this, would I add an “additional module” for Text parser? Apologies as im not sure where i would use that formula you saying.

Here, this is what it looks like. The module is Text Parser → Replace