Hi,
I have a problem with wich I have to replace special character with space...
I tried it for removing special characters..
$output = preg_replace("/[^A-N\s?\*\&P-Y\s?\*\&a-z\s?\*\&]/"," ",$input);
But i dont how to replace with spaces...
special character replace with space..
Moderator: General Moderators
Re: special character replace with space..
How is anyone going to be able to tell you unless you state what the "special character" is?
Do you mean anything that isn't a-z?
Do you mean anything that isn't a-z?
- prometheuzz
- Forum Regular
- Posts: 779
- Joined: Fri Apr 04, 2008 5:51 am
Re: special character replace with space..
My thoughts exactly, although I wouldn't use all the distracting colors.jackpf wrote:How is anyone going to be able to tell you unless you state what the "special character" is?
...
Re: special character replace with space..
Oh...I thought that was the theme of this thread 
- prometheuzz
- Forum Regular
- Posts: 779
- Joined: Fri Apr 04, 2008 5:51 am
Re: special character replace with space..
Cr@p! Sorry Jack, I'm just awfully slow today. It didn't even occur to me that your colourful post might be a reaction to the OP's post...jackpf wrote:Oh...I thought that was the theme of this thread