我有一列包含url(id,url):
http://www.example.com/articles/updates/43
http://www.example.com/articles/updates/866
http://www.example.com/articles/updates/323
http://www.example.com/articles/updates/seo-url
http://www.example.com/articles/updates/4?something=test
我想把“更新”改成“新闻”。有可能用脚本来实现这一点吗
更新您的\u表
设置您的_字段=替换(您的_字段“articles/updates/”、“articles/news/”)
您的_字段如“%articles/updates/%”在哪里
现在,像
http://www.example.com/articles/updates/43
将是
http://www.example.com/articles/news/43