There is a read me section at the beginning of my files, many files. The section's format likes this:
############### Read me ###############
many lines here
########################################
I want to update them with new contents. I am using Windows 7 but has access to Linux. I have Eclipse and also PowerGREP. I don't know how to do this with OS command line commands, and also don't know how to use Eclipse or PowerGREP to do this. Anybody can help me about this?
If format of your sections is always the same, it should be as easy as this:
With an inline
(?s)single-line/dot-matches-all mode you could use a regular.instead of[\s\S]but it doesn't matter much. See the Demo.Then, replace the text block as needed.