Case-insensitive, you can add the i flag : RegExp : Regular Expressions Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Regular Expressions » RegExp »

 

Case-insensitive, you can add the i flag


 
 
package{
  import flash.display.Sprite;
   import flash.utils.*;
  public class Main extends Sprite{
    public function Main(){
        var reCase:RegExp = new RegExp("abc","i");
        trace(reCase.test("aBc"));  
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Regular Expressions
» RegExp