i think the regular expression is to strip out unwanted characters like punctuation. comparing strings would be done by another process.
> From: [email protected] > Date: Thu, 22 Jul 2010 16:51:03 -0400 > Subject: Re: [Flashcoders] How to handle String the best way > To: [email protected] > > Yeah that was my question, albeit expressed in a much more convoluted > way. In the end its just a right/wrong quiz. > > .m > > On Thu, Jul 22, 2010 at 4:42 PM, Taka Kojima <[email protected]> wrote: > > Seeing as you have specific abbreviations, I don't understand why Regular > > Expressions are entering into this. > > > > You should have the abbreviations and their actual words stored in a > > database (maybe an XML doc somewhere), then just compare each one, one a > > word to abbreviation basis. > > > > Regular Expressions are not going to work in this scenario unless there are > > very specific rules that all possible use cases can conform to. > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

