<p>How do I get the substring <code>" It's big \"problem  "</code> using a regular expression?</p>

<pre><code>s = ' function(){  return " It\'s big \"problem  ";  }';     
</code></pre>

```
```
/(["\']).*?(?<!\\)(\\\\)*\1/is
```
```
should work with any quoted string