Forum Academy Marketplace Showcase Pricing Features

Place parentheticals on separate lines

Hello,

I have a multiline input field where users could—as an example—enter the following text:

(smiles) Hello Jane (quietly) How’s the game?

After the user submits the text, I’d like Bubble to place each parenthetical on a separate line, which results in the following output:

(smiles)
Hello Jane
(quietly)
How’s the game?

I have tried various approaches with Regex, looked into “Split by…”, searched the plugin section, but haven’t found a solution.

Any ideas or solutions?

Many thanks for your time!