一个article表里有content字段,我想把content里的类似于 http://www.aaa.com/article/def/的内容用正则表达式替换为空其中def是可变的
我这样写是错误的update article set content=replace(content,REGEXP 'http://www.aaa.com/article/[a-z]*/','')where articleid=153
请高手指点一下怎么用正则表达式替换,谢谢.
我这样写是错误的update article set content=replace(content,REGEXP 'http://www.aaa.com/article/[a-z]*/','')where articleid=153
请高手指点一下怎么用正则表达式替换,谢谢.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货