Re: [Flashcoders] regex needed

2006-02-14 Thread Michael Stuhr
matti bar zeev schrieb: How about this? import RegExp; var a:String = äur*?ß123.png; var goodname:RegExp = new RegExp ([^a-z0-9\\.], gi); var return_str:String = a.replace(goodname, _); var output_txt:TextField = new TextField (); output_txt.text = return_str; addChild

RE: [Flashcoders] regex needed

2006-02-14 Thread matti bar zeev
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders mailing list Sent: Tuesday, February 14, 2006 10:17 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] regex needed Importance: Low matti bar zeev schrieb: How about this? import

Re: [Flashcoders] regex needed

2006-02-14 Thread Michael Stuhr
matti bar zeev schrieb: You are working on flex, right? oops, nope ?! no other way, as far as I know, to use RegExp but to use it with flex. so... you must be familiar with addcChild (). if not - check it out on the Help panel. Weird, I don't get any errors. are you sure the error come from

RE: [Flashcoders] regex needed

2006-02-14 Thread matti bar zeev
Ok, So I suggest you ask them in that case. Best of luck. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Flashcoders mailing list Sent: Tuesday, February 14, 2006 16:17 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] regex needed

Re: [Flashcoders] regex needed

2006-02-13 Thread David Rorex
On 2/13/06, Michael Stuhr [EMAIL PROTECTED] wrote: i'm trying to use Joey Leott's (Pavils Jurjans') RegExp for replacing BAD-strings in (to-be-uploaded) Filenames but had no success at all. can anyone give me some hints ? i have: code import RegExp; var a:String = 'äur*?ß.png'; var

Re: [Flashcoders] regex needed

2006-02-13 Thread Michael Stuhr
David Rorex schrieb: On 2/13/06, Michael Stuhr [EMAIL PROTECTED] wrote: i'm trying to use Joey Leott's (Pavils Jurjans') RegExp for replacing BAD-strings in (to-be-uploaded) Filenames but had no success at all. can anyone give me some hints ? i have: code import RegExp; var a:String =