<p>How can I get the value between quotes with an RegEx</p>

<p>for example I want to find all the parameters from the function test</p>

<pre><code>&lt;html&gt;
   test("bla");
   print("foo");
   test("moo");
&lt;/html&gt;
</code></pre>

<p>The result must be { "bla", "moo" }</p>

edit: Removed old code and made a linq version...
```
```
var array = (from Match m in Regex.Matches(inText, "\"\\w+?\"")
                 select m.Groups[0].Value).ToArray();

    string json = string.Format("{{{0}}}", string.Join(",", array));
```
```