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!
<body[\n\s\S]*?</body>
This is useful to replace or delete unwanted elements in XML or HTML.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With