<?php $value = " Some example here for you ";$result = preg_replace('/^\S+(?:\s+\S+){2}\K\s+/', ',$0', trim($value), 1);echo $result;
Standard input is empty
Some example here, for you
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!