oracle 去掉html标签

语法

Oracle数据库中的REGEXP_REPLACE函数的语法是:

REGEXP_REPLACE(source_char, pattern [, replace_string [, position [, occurrence [, match_parameter ] 

 --更新oralce数据库历史数据去掉标签存入无标签字段
update IAM_WORK_ITEM_CONTENT t set t.item_content_nolabel = regexp_replace(t.ITEM_CONTENT,'\s*|\t|\r|\n','')  ;
update IAM_WORK_ITEM_CONTENT t set t.item_content_nolabel = regexp_replace(t.item_content_nolabel,']*?>.*','')  ;
update IAM_WORK_ITEM_CONTENT t set t.item_content_nolabel = regexp_replace(t.item_content_nolabel,']*>|nbsp;|&','')   ; 

oracle 去掉html标签_第1张图片

oracle 去掉html标签_第2张图片

oracle 去掉html标签_第3张图片

oracle 去掉html标签_第4张图片

你可能感兴趣的:(oracle)