<?php $input = <<<EOL A B C D One Two Three Four 100 2000 30000 400000 EOL; echo '<table width="400" border="1">'; echo preg_replace( '#^(\S*) (\S*) (\S*) (\S*)$#m', "\n\t<tr><td>\$1 \$2</td><td>\$3</td><td>\$4</td></tr>", $input ); echo "\n</table>";
You have javascript disabled. You will not be able to edit any code.