Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

remove more than one space in string php

$replaced = preg_replace('/ss+/', ' ', $text);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #space #string #php
ADD COMMENT
Topic
Name
1+9 =