Posted by John Dunlop on 08/29/05 14:17
Mindy Geac wrote: > Is it possible to delete special caracters from a string and multiple > spaces? > > When the input is : "a&*bbb cc/c d!d" > I want the result : "abbb ccc dd" preg_replace( array('` {2,}`',"`[$specials]+`"), array(' ',''), $subject) -- Jock
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming