Hi there.

I'm trying to use regex for a search function. I want case-insensitive
search, so I'm using the regex: /ANYTEXT/i

This one does work, but I want to insert a searchString.text variable
instead of ANYTEXT. 
"/searchString.text/i" doesn't work. 

How can i do this?



Here's the code, if it helps:

<mx:TextInput id="searchString"/>
<mx:DataGrid
dataProvider="{externalXML.customer.(name1.match(/stich/i))}">
...

Reply via email to