Как я могу получить весь текст после каждого вхождения строки, например, мне нужно следующий текст:
commonstring
text and more text and more
random text that may or may
not be on multiple lines
commonstring
more random text that
will be after the common string
Как я могу превратить это в массив
{ "text and more text and more random text that may or may not be on multiple lines", "more random text that will be after the common string" }