Parsing text

They have: 426 posts

Joined: Feb 2005

I want to parse a css stylesheet so i can use the split() function to split the string up into the array where the { } are.

Then i want to beable to modify the values. Will i have to split() twice, once for { } and second for : and actually perhaps for ; end of the line.

Any pointers?