Quote:
Originally Posted by princeton
I added this to a project I'm currently working on ... and I think it's great.
I modified the expression ...
$vartext = preg_replace ("'([\r\t\n])[\s]+'", "", $vartext);
this has been tested only on a non-public vb3 forum
it seems to compress more then the original (view attachment) and it doesn't remove the "space" between the ....
|
Excellent! This fixed the spacing,
plus increased compression. Thanks, princeton!