Parse file line by line with specific string using scala


I have log.text file and contains 100s of lines.
I need to parse specific line based on string “event”.

how to file parse by multiple delimiter in scala.
thank you


Try the better-files scanner here


Could you give an example?