I'm working on editing some documents (web pages), where I need to replace a block context, with a larger one. I've experimented, but can't yet get it quite right. For example, I am attempting to match the following:
for some reason (my lack of experience with Perl RE) this doesn't work</div> </body>
I can match </div> or </body>. But not both. Sorry for the bother. I'm so good with sed I feel I should be closer with Perl, than I am. But still haven't quite got the hang of it. :/\<\/div\>\n\<\/body\>
Thank you for your time, and consideration.
--ChrisUPDATE -- now with my broken example
Yes. What say about me, is true.