$ 0 0 Hi furesoft, Consider using a JavaScript parsing library. Esprima is one that's written in JavaScript. Cheers!