title: Regular expression recursive replace (increasing indentation)
body: <p>I'm sure it should be possible and I'd like to avoid a function as it is a one off report on a page (Oracle 11g) but I'd really like to format the following string with line breaks with indentation for each subsequent replacement of &quot; - &quot; to show a hierarchy</p>
  <p>As an example:</p>
  <pre><code>This is the base level - This is level 2 - And this is the second
  </code></pre>
  <p>So, I can do a start and replace the &quot; - &quot; with a line break and apply a CSS pre to ensure they're all on one line</p>
  <p>But ideally, I'd like this:</p>
  <pre><code>This is the base level
  &gt; This is level 2
  &gt;&gt; And this is the second
  </code></pre>
  <p>Many thanks in advance</p>