Split string by substring

The first sorry for my English, I need to separate a text string and do it when it finds a certain number.
For example :

1 test 2 test 3 test 4 test

And to hand each of them in a list.

1 test
2 test

Thank you very much to all

give a try on Regex:

or with a variable for the text


1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.