View all expressions
Transformation

Replace Spaces with New Line Expression

Converts spaces in text to line breaks, effectively creating new rows.


text.sourceText.replace(/ /gi,”\r”)

Replace Spaces with New Line Expression

Practical use case

Great for automating multi-line text layouts in templates or data-driven projects.

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image