Regex to convert inputs value into separate words I can save

Hi,

I have an input that searches my app for music pieces.
I want to not only save the entire search made e.g. “Mozart piano concertos”

But also immediately save and search for pieces just containing “Mozart” and just containing “concertos” and just “piano”.

I assume I need regex? If yes, what do I have to write for the Regex function to separate Mozart piano concertos into 3 words (that I can then recombine again eg to Mozart concertos or Piano concertos"?
How do I do this
thanks for your help

This is not really a Bubble specific question, you can find a lot about regex on the web…

You can use ([^\s]+) to separate it.

1 Like

This can help too: Regex convert text with comma to a list of words for repeating group

This topic was automatically closed after 70 days. New replies are no longer allowed.