Question for SED preg_replace

view full story

http://www.unix.com – I want to make it in SED PHP PHP Code: preg_replace('@<script[^>]*?>.*?</script>@siu','',$text);  this is in AWK Code: awk '/<script /{p=1} /<\/script>/{p=0; next}!p' can you help me to make it on SED working? I have this Code: sed 's/<script[^>]*>[^>]*<\/script>//g' but it not work with this string Code: <script type="text/javascript"> <s>Df<DF>FD>FD<DFd>FDF<>fgdfg dfgdfg fdg df g g</script> only with this Code: <scri (HowTos)