title: Regex find-replace to format a hierarchical tree to multiple lines?
body: <p>I have hierarchical trees whose structures are represented via parentheses, each tree fits a single line:</p>
  
  <pre><code>( ( ( A , B ) , ( C , D ) ) , E )
  </code></pre>
  
  <p>One can systematically and consistently re-arrange the trees to span multiple lines, forming more intuitive diagrams:</p>
  
  <pre><code>(
   (
    (
     A
     ,
     B
    )
    ,
    (
     C
     ,
     D
    )
   )
  ,
  E
  )
  </code></pre>
  
  <p>I am open to alternative suggestions - but my question is more specifically: </p>
  
  <p><strong>Could somebody suggest a regular expression I can use (e.g. via Sublime Text 2's Find-Replace) to convert a single line version of the tree into a more intuitive multi-line version?</strong></p>
  
  <p>The answer would ideally include an expression for the "Find" field and an expression for the "Replace" field.</p>