REGEXP Functions in 10g (10.2.0.2.0)

From: admin <admin_at_rbtron.com>
Date: Thu, 6 Aug 2009 13:40:31 -0700 (PDT)
Message-ID: <b1819711-e320-4261-990d-3998b289a63c_at_e4g2000vbe.googlegroups.com>



Hi,

Is there any way to do remove a few lines from a paragraph using regexp functions?

Something like : sed -e '/temp/,/test/d' text.txt ?

This is what I need:

select 'text' title from dual union select 'test' from dual union select 'temp' from dual union select 'doc' from dual;

TITLE



doc
temp
test
text

Required Output after running regexp functions:

TITLE



doc
text

ie., remove anything between 'temp' and 'test' (inclusive) ...

Thanks

-Ad Received on Thu Aug 06 2009 - 15:40:31 CDT

Original text of this message