ShivaGupta Posted November 6, 2013 Share Posted November 6, 2013 (edited) here is code $string = "882þ876®8764987656þ®"; $new_string = ereg_replace("/[^A-Za-z0-9]/", "", $string); plz help......... Edited November 6, 2013 by ShivaGupta Link to comment https://forums.phpfreaks.com/topic/283634-deprecated-function-ereg_replace-is-deprecated-in/ Share on other sites More sharing options...
requinix Posted November 6, 2013 Share Posted November 6, 2013 Google Link to comment https://forums.phpfreaks.com/topic/283634-deprecated-function-ereg_replace-is-deprecated-in/#findComment-1457132 Share on other sites More sharing options...
.josh Posted November 6, 2013 Share Posted November 6, 2013 There is a pinned thread in this forum, called "ereg and 'deprecated' error". It is literally right above your thread. You might even get confused and think it's YOUR thread, being named similar and all. Can you at least TRY to look, before asking? Link to comment https://forums.phpfreaks.com/topic/283634-deprecated-function-ereg_replace-is-deprecated-in/#findComment-1457133 Share on other sites More sharing options...
Recommended Posts