Pergunta de entrevista da empresa Spotify

coding interview: return list of texts between two given string in a paragraph