package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var reCase:RegExp = new RegExp("(\\w)+", "g");
var sVal = new String("abc def ghi");
var aMatches:Array = sVal.match(reCase);
trace(aMatches.toString());
}
}
}