Following is sample text.
Header
This is test, and
mid line adsf
bag a lot of many things
shoes>
shoes/
This line should not be affected.
Neither this line.
This is test, and
mid line
bag a lot of many things
shoes>
shoes/
Footer
Need to replace/remove lines where text starts with This is test and ends with
shoes>
shoes/
using Emacs 26.1
Newbie to RegEx (emacs), following were my trials, failed to select multiple instance.
(This is test).*(shoes/)
^This is test.*shoes/$
Expected output is
Header
This line should not be affected.
Neither this line.
Footer

