This particular regexp will match everything (that's the /g) that is composed of:
\s* => 0 or more whitespaces (space, tab, etc) => followed by: [,-:\r\t] => only one of these characters: , - : \r (newline) \t (tab) => followed by: \s* => 0 or more whitespaces May I suggest you a book? It's called "Mastering Regular Expressions", by Jeffrey Friedl. It's a very good book, well worth it. http://oreilly.com/catalog/9780596528126/ On Fri, Jul 18, 2008 at 9:10 AM, Cor <[EMAIL PROTECTED]> wrote: > I have a problem understanding RegExp > Could you explain this: > > var re:RegExp = /\s*[,-:\r\t]\s*/gm; > > TIA > Cor > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

