Skip to main content

Normalize Extra Spaces in Scenario Editor Values

Text1.replace(/ {1,}/g," ")

The g at the end of the RegExp means: global, ie match and replace all occurrences.

P2pIVE7c1Z75X75n-fb2b98361f0b.png

If you have any feedback on this topic, please contact us at documentation@appvance.ai

Last updated: October 16, 2026