thanks for that. But this will check for the exact content of the "start of block......" or "end of block". How about if the content is anywhere in the line?