Pregunta de entrevista de Spotify

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