去掉字符里的html标签

来源:互联网 发布:数据可视化软件 ta 编辑:程序博客网 时间:2024/05/18 00:20

--去掉 字符内容里的 html 标签 



--方式一:
SELECT  replace(replace(regexp_replace(name,'</?[^>]*>'),'nbsp;'),'&') FROM scott.t  



--方式二:
SELECT  regexp_replace(name,'<[^>]*>|[nbsp;&]') FROM scott.t  
0 0