$string = "asdasd óadsa, xxxÂr 123, asda koskso øppp iø1 asdakjd*ads8"; $string = preg_replace('/\S*[^a-z0-9A-Z\s,\.]+\S*/', '', $string); print "$string\n";
No comments:
Post a Comment