How to search for a start and ending tag that may include multiple non-blank lines?
<body myattr="hello" >
<title>Hello</title>
</body>
<element>Surprise!!!</element>
<body myattr="goodbye" >
<title>Goodbye</title>
</body>
How to search for a start and ending tag that may include multiple non-blank lines?
<body myattr="hello" >
<title>Hello</title>
</body>
<element>Surprise!!!</element>
<body myattr="goodbye" >
<title>Goodbye</title>
</body>
Answer kindly provided to me by VS Code developer. May it help others.
Thank you @roblourens!
This is useful to replace or delete unwanted elements in XML or HTML.