Welcome Guest, Not a member yet? Register   Sign In
Regexp: replace all except aplha
#1

[eluser]nirbhab[/eluser]
Hi all,
Code:
echo preg_replace("/^([^a-z])+$/i",' ','nirbhab#$#%$^');

above is my code, i just want to replace all(except alpha chars) through regular expression.
new to regexp.




Theme © iAndrew 2016 - Forum software by © MyBB