Special Site & Other Boards => PasteBin => Topic started by: SleePy on May 02, 2007, 03:01 PM
Title: PasteBin - 1178118090
Post by: SleePy on May 02, 2007, 03:01 PM
// To Replace all character in a string other than alphabets or numbers with a space. $string="#la@ve!sh %Ra&wa*t-"; echo $string; $string=trim( ereg_replace( "[^[:space:]a-zA-Z0-9]", " ", $string ) ); echo 'After change'.'--->'; echo $string; ?>