I came up with: ([^"]*["][^"]*["][^"]*)*
It works in all cases except against the empty string. I thought it would work because the last star matches the previous token zero or more times.
Any ideas?
Also if there's a much better way of doing this please let me know and explain it in detail.
The solution must be a regex as the place where it will be used is a hook which requires a regex.
It has to match a string without quotes as well, as zero is an even number