I'm coding in AS2 using CS4 if it matters. Can I use regular expressions in this environment?
Don't think so. AS3 only.
AS2 doesn't come with regular expression class but oters have written them. I found a good one. http://www.jurjans.lv/flash/RegExp.html
Retrieving data ...