match everything between two tags in vscode using regex

Ealier i wrote an article on how to match everything between two strings or tags or text in sublime using regular expressions but now i am vscode, i need a way to do this in vscode aswell.

and luckily it is damn simple

some like

<section>[\r\s\S]+?</section>

which selects everything between that section tag, which you can apply to comments or regular text or anything.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.