<?php preg_match('/(\<!--\s*.*?((--\>)|$))/imsxn', '<!-- com1 <!-- com 2 <!-- com2.1 --> --> <!-- com3 --> -->', $matches);
You have javascript disabled. You will not be able to edit any code.