Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

removing xml tags using regular expressions

599200Aug 29 2008 — edited Aug 29 2008
Hi,

I've got a pl/sql function which currently removes all xml element tags from a string/clob, it's working but a bit hamfisted.

Just tinkering around with regular expressions to achieve the same thing, but having problems coming up with an expression which will do this, any ideas?

e.g. input = "<tag><tag2>hello there</tag2></tag>" => output "hello there"


Cheers
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2008
Added on Aug 29 2008
3 comments
684 views