<?php $s = "This is some $123 Money"; $result = preg_replace("/[^a-zA-Z0-9]+/", "|", $s); echo $result; echo $text= str_replace(' ','|', preg_replace('/[^A-Za-z0-9 ]/', '',"This is some $123 Money"));
You have javascript disabled. You will not be able to edit any code.