i want to split an input file to many files by one recognition word.
input file has 18 sites. the keyword "Spongebob" is on the site 1, 6, 9, 13. so i want four output files:
first file from site 1 to 5
second file from 6 to 8
Thank you very much for any answers