 <span class="va">new</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div class="section level2">
    <h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
    <dl><dt>df</dt>
<dd><p>A data frame with embedded subheaders.</p></dd>


<dt>regex</dt>
<dd><p>Regular expression to match the subheaders.</p></dd>


<dt>orig</dt>
<dd><p>Variable containing the extraneous subheaders.</p></dd>


<dt>new</dt>
<dd><p>Name of variable that will contain t