Since every options quote has the same syntax, some regex/string manipulation should help. python would be a good language to try.
https://en.wikipedia.org/wiki/Regular_expression
https://docs.python.org/2/library/re.html
I don't know if you can program or not, just the first thing that popped...