-3

How do I remove

<noindex><script>stuff</script></noindex>

in an SQL export using regex in Notepad++ ?

Steve
  • 2,066
  • 13
  • 60
  • 115

1 Answers1

0

It would help if you explained a bit more. From your question it seems like you need something like this, but that's probably not what you intend.

<noindex><script>.+</script></noindex>
Script Wolf
  • 106
  • 2
  • 12
  • Hi ScriptWolf. `stuff` can be any JavaScript, so if your regex is for any multiple values, that's what I need. – Steve Jan 12 '18 at 08:07
  • 1
    Just keep in mind when using regex with tags, if they aren't VERY neat and tidy, you'll have a horrible time. [https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags](https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags) – Script Wolf Jan 12 '18 at 14:55