I am having trouble with the Linux command sed
I have a html document that I want to extract the body text and then copy that into a new file, and I am gonna do it with sed:
sed '^<body>(.*)<\body>$/p' source.html > bodyextracted
but it didn't seem to work