Is there a way to pick apart this text without resorting to regular expressions? p { color: black; } p -> element color -> property black -> value