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"
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
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"