Hi
I want to do an If. Example:
var fileName:String = “téste.xml”;
if(???){
trace(“file name as invalid characters, please replace”);
}else{
trace(“do iT”)
};
I need to know how I do this with regular expressions. Instead of writing 100 else if ofr each character á é í í ú ó #$%&/ that can’t be in a file name!
I hope someone can help me!
Thanks