regexp_replace to duplicate the substring in oracle
<h2>Requirement</h2>

<hr>

<p>There is one requirement . The regexp_replace has to duplicate the sub string no.of times as ',,' is present.</p>

<p><code>(,xyz,,12,).*</code> has to replace with <code>(,xyz,,12,).*(,xyz,,12,).*</code> </p>

<h2>Example:</h2>

<pre><code>    Input : (.*(,ELF,,NLF,).*)@(.*(,ABC,,CDF,,SDE,).*)

    Output : (.*(,ELF,,NLF,).*(,ELF,,NLF,).*)@(.*(,ABC,,CDF,,SDE,).*(,ABC,,CDF,,SDE,).*(,ABC,,CDF,,SDE,).*)
</code></pre>

<p>Please help . Can this be done using regexp_replace?</p>