if i only want to read specifik text from an file how would i handle that ?.

lets say ive got this text in text.txt

hello my name is zleepan [ and my name is jonathan ] we are brother

if i dont want to read the text betwen [ ] how to manage that ?.

the text is changin from time to time any idea how to skip the lines betwen [ ] ...

zleepan