Reply to Regular expression help

Your name:

Reply:


Posted by Karin J on 09/26/07 10:03

Hi everyone

I am using a ereg_replace to strip all but certain allowed characters
from a string:
$string = ereg_replace("([^ 0-9A-Za-zŠŒŽšœžŸÀ-ÖØ-öø-þ-])","",$string);

I would like to extend this to allow HTML character references of the
form "&#number;" where number is the three or four digit code number
of the character. Examples would be "ä" and "ẽ".

I am sorry but regular expressions hurt my brain!

Thankyou in advance
Karin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация