PHP を使用して、指定されたコンテンツから改行と改行を削除する必要があります。方法を教えてください。
<p>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n</p>
<table width="\"100%\"" class="\"table-view\"" cellpadding="\"0\"" cellspacing="\"0\"">
<tbody>
<tr>
<th colspan="\"2\"" align="\"left\"">Specifications</th>
</tr>
<tr>
<td valign="\"top\""><strong>Frequency bands</strong></td>
<td>\r\n
<ul>\r\n
<li>380 - 400 MHz</li>
\r\n
<li>410 - 430 MHz</li>
\r\n
<li>806 - 825, 851 - 870 MHz*</li>
\r\n </ul>
\r\n</td>
</tr>
<tr>
<td valign="\"top\""><strong>Power class</strong></td>
<td>\r\n
<ul>\r\n
<li>EN 300392-2 compliant, power class 4</li>
\r\n
<li>Receiver class A</li>
\r\n
<li>RF power control, 4 steps of 5dB</li>
\r\n </ul>
\r\n</td>
</tr>
<tr>
<td valign="\"top\""><strong>Size</strong></td>
<td>\r\n
<ul>\r\n
<li>Weight: 292 g</li>
\r\n
<li>Dimensions: 157 x 57 x 35 mm</li>
\r\n </ul>
\r\n</td>
</tr>
<tr>
<td valign="\"top\""><strong>Durability</strong></td>
<td>\r\n
<ul>\r\n
<li>High-resolution, active TFT colour display</li>
\r\n
<li>Up to 65,536 colours with 130x130 pixels</li>
\r\n
<li>Display texts in more than 20 languages</li>
\r\n
<li>Support for Latin, Arabic, Greek, Chinese and Korean</li>
\r\n </ul>
\r\n</td>
</tr>
<tr>
<td valign="\"top\""><strong>Keypad / Controls</strong></td>
<td>\r\n
<ul>\r\n
<li>2-sided user interface</li>
\r\n
<li>Alphanumeric keypad</li>
\r\n
<li>4 navigation keys, 3 selection keys</li>
\r\n
<li>HI/LO key for loudspeaker control</li>
\r\n
<li>Power-on key, volume keys, red function key, duty key, fast menu key, group selector, back key</li>
\r\n </ul>
\r\n</td>
</tr>
<tr>
<td valign="\"top\""><strong>GPS receiver</strong></td>
<td>\r\n
<ul>\r\n
<li>Sensitivity –152 dBm</li>
\r\n
<li>Cold start accuracy (open sky)*<br />
\r\n 5 metres (50% confidence level)<br />
\r\n 10 meters (95% confidence level)<br />
\r\n * measured at –130 dBm<br />
\r\n HI/LO key for loudspeaker control</li>
\r\n
<li>GPS activity indicator</li>
\r\n </ul>
\r\n</td>
</tr>
</tbody>
</table>