Use regex to get array of values from string in javascript
<p>I am trying to get all the words comes with inside bracket in  string using javascript but i am not get clear idea. please help me.</p>

<p><strong>Input</strong></p>

<pre><code>"  (  [Field1]  +  [Field2]  )    +    (  [Field3]  -  [Field4]  )  "
</code></pre>

<p><strong>Required Output</strong></p>

<pre><code>["Field1","Field2","Field3","Field4"]
</code></pre>

<p>Thanks in advance</p>