
04-07-2010, 08:01 PM
|
 |
|
|
Join Date: Oct 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by dippetas
Fixed, it adds Greek tags and english
here is the solution :
Code:
function updateTagger(){
var subject = document.vbform.subject.value.replace(/[^[a-zA-Z0-9_\\u0020-\\uFFFF]+/gi,"");
subject = subject.replace(/(\b(\w{1,2})\b(\s|$))|(\b(\w{19,})\b(\s|$))/g,"");
var newtaglist = filterText(subject);
newtaglist = trim(newtaglist);
newtaglist = newtaglist.replace(/\s+/g," ");
document.vbform.taglist.value = newtaglist.replace(/ /gi,",");
and here is the fixed RegExp
Code:
(/[^[a-zA-Z0-9_\\u0020-\\uFFFF]+/gi,"")
This is the attached file for unicode (including greek) and english languages
|
Please Turkish language help? ? ? Ş ş Ğ ğ ı ? ? ? ?
|