TABLE(id,content)
所有的content字段的内容均为以下形式:
‘文字<a href="http://site.com" target="_blank">xxx</a>文字’
我现在要想达到的效果是:找出content字段中"<a href="http://www.site.com" target="_blank">xxx</a>"这一部分内容,并且做删除操作。
比如要找的是‘文字123<a href="http://site.com" target="_blank">xxx</a>文字456’
那处理之后结果是'文字123文字456'
请问这能够通过REPLACE函数获得吗?
新手每分,各位见谅!
所有的content字段的内容均为以下形式:
‘文字<a href="http://site.com" target="_blank">xxx</a>文字’
我现在要想达到的效果是:找出content字段中"<a href="http://www.site.com" target="_blank">xxx</a>"这一部分内容,并且做删除操作。
比如要找的是‘文字123<a href="http://site.com" target="_blank">xxx</a>文字456’
那处理之后结果是'文字123文字456'
请问这能够通过REPLACE函数获得吗?
新手每分,各位见谅!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货