<?php $subject = " test test2 test3"; $subject = preg_replace("\G(^ |\n )", "\t", $subject); echo $subject;
You have javascript disabled. You will not be able to edit any code.