are you saying there is no way to start a filter search after the <b> tag? without typing it first
--- In [email protected], "Paul DeCoursey" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "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 > > >

