Yep. I got 1.5 million hits when I googled "regexp tutorial". - Gordon
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of tonyx_788 Sent: Wednesday, March 14, 2007 10:51 AM To: [email protected] 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 [email protected] <mailto:flexcoders%40yahoogroups.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 [email protected] <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 [email protected] <mailto:flexcoders%40yahoogroups.com> , "Paul DeCoursey" <paul@> wrote: > > > > > > --- In [email protected] <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 > > > > > > > > > >

