I have this code-
<?php
$json = 'Two large sardines are seasoned and grilled, then served in a light wine sauce with chopped tomato and generous drizzle of olive oil. Fresh and delicious.';
print_r(preg_replace('/\s+/',' ',$json));
?>
How can i remove these white space b4 Fresh .
Please help,
thanks
1 Answer