DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php replace multiple spaces end chrters to one
$string = preg_replace('/[s$@_*]+/', '_', $string);
PREVIOUS
NEXT
Tagged:
#php
#replace
#multiple
#spaces
#chrters
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit