special character problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello friends,

I have used

preg_replace('/[^0-9a-zа\~\!\@\$\%\^\*\(\)\;\,\.\'\/\_]/i', ' ',$match);

for remove the special characters.  its work fine. but the problem I want to
remove special characters from this kind of sentence

///

#: "'''''Amor''' é fogo que arde sem se ver,''
#: ''é ferida que dói, e não se sente,''
#: ''é um contentamento descontente,''
#: ''é dor que desatina sem doer.''"
#:: ''- Camões''


///

its remove all special character including é, ã, õ, which I do not want to.
I want to remove special character except these three. please suggest me...

-----
Regards
Saeed Ahmed
http://saeed05.wordpress.com
-----

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux