Matching Using a Regular Expression Object : RegExp : Regular Expressions Flash / Flex / ActionScript examples


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

 

Matching Using a Regular Expression Object


 

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

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Regular Expressions
» RegExp