<?php
$str = 'The owner of Hill House is Scott Croyle, senior vice president of design at HTC. At two bedrooms, 2 1/2 baths and a study, the home is just large enough to share with his wife and son. Its modest scale allowed Bernstein to emphasize quality materials over quantity of space. "It\'s almost a negative value in that (tech) community," said Bernstein of over-the-top homes. "There\'s a real emphasis on not seeking a mansion right away."\n\n';
$str = preg_replace('/(\\\n)+\z/', '', $str);
echo $str;