我有下面的數據,有什麼方法可以使用regexp_replace函數來編寫通用正則表達式來在oracle中獲得所需的輸出。要替換的正則表達式<
<Tier><grade><><sdlc><17,10><> : result should be 17.10
<><sdlc><16,909312> : 16.909312
<><sdlc><11396,87> :11396.87
<20121217> :20121217
<UNIT><6086> : 6086
<Tier1><><sdlc><0,47> :0.47
謝謝Reimeus,但我希望它使用正則表達式,這是我有它的限制。 – user1726550
是您的數據XML嗎?如果是這樣,更好地閱讀本文 - http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 –
@shellter他的問題很清楚。 '<><17,10><>'convert to 17.10' –
Smit