/^/
MediumParsing

Basic Quoted String Matcher

Write a regex that matches a string fully wrapped in double quotes, where the content between the quotes contains no quote characters at all. This is a simplified version that doesn't need to handle escaped quotes.

Solved! All test cases pass.
//
"hello" / "hello / hello" / "" / "multi word string" / no quotes at all

Test cases

  • "hello"expect match
  • "helloexpect no match
  • hello"expect no match
  • ""expect match
  • "multi word string"expect match
  • no quotes at allexpect no match
  • "unterminatedexpect no match