According to the previous topic, I am going to trim white space/tab for a string in PHP.
$html = '<tr> <td>A </td> <td>B </td> <td>C </td> </tr>'
converting to
$html = '<tr><td>A </td><td>B </td><td>C </td></tr>'
How to write the statement likes str.replace(/>\s+</g,'><'); ?
preg_replace()