I need to use regular expressions once every two years of so and If I learned it, I would forget by the next time I needed it.
I just googled "regular expression wizard" and found many free programs that help to build regular expressions. I picked up a couple and plan to try them. When I next need them, in a year or so. Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lex Sent: Wednesday, March 14, 2007 1:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Regexp wont work cause of the <b> labels This book is a must-own: http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/05 96528124/ref=pd_bbs_sr_1/002-1529781-6061612?ie=UTF8&s=books&qid=1173895 819&sr=8-1 <http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0 596528124/ref=pd_bbs_sr_1/002-1529781-6061612?ie=UTF8&s=books&qid=117389 5819&sr=8-1> GL! Alex ----- Original Message ----- From: tonyx_788 <mailto:[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> Sent: Wednesday, March 14, 2007 1:51 PM Subject: [flexcoders] Re: Regexp wont work cause of the <b> labels Thank you very much, im new in regexp is there any web or tutorial to learn more about it? THX --- In flexcoders@yahoogroups.com <mailto:flexcoders@yahoogroups.com> , "Paul DeCoursey" <[EMAIL PROTECTED]> wrote: > > no, not at all what I am saying. You can try this... > > new RegExp("^(<.*>)?" + inputText.text,"i\*") > > This should ignore any html tag at the beginning if it exists. I am > not an expert at regular expressions so this might fail some test cases. > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "tonyx_788" <tonyx_788@> wrote: > > > > are you saying there is no way to start a filter search after the <b> > > tag? without typing it first > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Paul DeCoursey" <paul@> wrote: > > > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "tonyx_788" <tonyx_788@> wrote: > > > > > > > > Hi all i'm looking for a regular expression for mi app > > > > > > > > im using CDATA inside my XML so when i try to make a filter > search it > > > > wont work cause of the <B> or <i> before the text > > > > > > > > lets say in my xml i have something like this: > > > > <name><![CDATA[<b>Academia.</b>]]></name> > > > > it dont work if i type academia but > > > > if i put <b>Academia it works > > > > > > > > this is what im using to make the filter search > > > > > > > > private function filter(item:Object):Boolean > > > > { > > > > return item.name.match(new RegExp("^" + inputText.text,"i\*")); > > > > } > > > > > > > > > > "^" searches from the beginning of the string, so of course it will > > > not find it since <b> is the beginning of your string. > > > > > > > Thanks > > > > > > > > > >