hi, is there a function that returns a string with only text characters and strips it of all numeric and characters such as £$%&*?
Ive looked through the php manual but I either blindly missed it or its not in 🙁
<? $string = "abc123def#@!"; $string = preg_replace("/[^a-zA-Z]/", "", $string); echo $string; ?>
i haven't tested that, but i think it should work.
::edited, yes now this works ::
works perfectly thankyou 🙂