Hi, just wondering if there is a better way to split up words in a sentenc using RegExp. This class is confusing to me, and I would liek to get a better grasp of it. Are there any resources out there that go into depth about RegExp?
What I have done:
var str:String = "I would like to split up words in a sentence"; var re:RegExp = /\s/; var results:Array = str.split(re); trace(results);
Is there another more ‘concrete’ way of doing this?