Hi, Jongware! Thank you for clarification. Interesting to see how Adobe implements GREP functionality with core JavaScript. Again the same example, but this time no InDesign involved: var myArray1 = new Array("1,2,3,4,5,6,7,8,9,0,ß,q,w,e,r,t,z,u,i,o,p,ü,a,s,d,f,g,h,j,k,l,ö,ä,y,x,c,v,b,n,m,Q,W,E,R,T,Z,U,I,O,P,Ü,A,S,D,F,G,H,J,K,L,Ö,Ä,Y,X,C,V,B,N,M,_,œ,æ,ç,µ,Á,Û,Ø,Å,Í,Ï,Ì,Ó,ˆ,Œ,Æ,Ù,Ç"); myArray1.join().match(/\w/g) InDesign CS3 ExtendScript Toolkit 2 does not get the "ß". InDesign CS4 ExtendScript Toolkit does it. An improvement. Obviously Adobe is in command here altering GREP inside their Core JavaScript-implementation of ExtendScript. Another try with JavaScript inside HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test_match(/\w/g)</title> </head> <body> </body> <script type="text/javascript" language="javascript"> //Here comes the code: var myArray1 = new Array("1,2,3,4,5,6,7,8,9,0,ß,q,w,e,r,t,z,u,i,o,p,ü,a,s,d,f,g,h,j,k,l,ö,ä,y,x,c,v,b,n,m,Q,W,E,R,T,Z,U,I,O,P,Ü,A,S,D,F,G,H,J,K,L,Ö,Ä,Y,X,C,V,B,N,M,_,œ,æ,ç,µ,Á,Û,Ø,Å,Í,Ï,Ì,Ó,ˆ,Œ,Æ,Ù,Ç"); var myString = myArray1.join().match(/\w/g); alert(myString); </script> </html> Safari 4.0.3, FirefFox 3.5.3 and Opera 9.2.7 (all on Mac OS X 10.5.8) together with Adobe Dreamweaver CS4 (LiveView) do not get the "ß". Thank you again for commenting, Uwe Laubender
... View more