should work. It accepts any characters that are not ">", up to the ">" that terminates the tag. It may not be the best solution to this particular problem, but it's a very handy regex idiom to have ready access to.s/<script[^>]*>.*?<\/script>//igs;
In reply to Re: Regex: Strip <script> tags?
by rodion
in thread Regex: Strip <script> tags?
by Spidy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |