Man ... this list is way too quiet :/ Here is something small to wake you up =) What is wrong with this code? s{ <!(.*?)(--.*?--\s*)+(.*?)> }{ if ($1 || $3) "<!$1 $3>"; } }gesx; BONUS: Where did I steal it from? Cheers! -Sx-