2 Replies Latest reply on Oct 16, 2007 9:08 AM by Dzihan

    Regular expression needed

    Dzihan Level 1
      Hi all,

      i need a regular expression for a wildcard search i want to implement.
      A match shall be *searchString* where searchString shall not be case sensitive.

      I googled some time but i could not find something useful.
      currently i'm using

      var str:String = "^"+searchString+".*";
      var re:RegExp = new RegExp(str);

      where only Strings match that start with the searchString and are same case.
      Maybe someone can help me out with this please.

      Thanks in advance,
      Dzihan