Regex to match any characters not within double quotes

How would I create a regex to match for any characters in a string that are not surrounded by double quotes? I am using JavaScript.

Should match for foo

foo"bar"

Should NOT match

"foo""bar"

Should MATCH for f

"foo""bar"f"