<?php $text = "\n".'<tr>hello</tr>'; $text = preg_replace('~[\s\r\n]+(?=(?:(?!<tr).)*<\/tr>)~is', ' ', $text);
You have javascript disabled. You will not be able to edit any code.