Hi all.
I have a noob question. In my document I need search and delete all scripts and links, but I have problem with regular extensions in sublimetext search.
Here is my two regexs what I using.
For scripts:
\<script[\s\S]*?\/script\>
For links
\<link\srel[\s\S]*?\>
Scripts are ± OK. In selections is content except “<>”, With links is that a problem because it seems ST3 not accept \<\>
in selections. That mean, that I have in selections only “link rel” and not all content <link blablbabla>
I tried it on https://regex101.com/ and http://regexr.com/ and everyting is OK on these pages, but in sublimetext is that not work. Any idea for the solution are welcomes. Thank you for your time.