gpt4 book ai didi

regex - 删除 Google Analytics 报告中的尾部斜杠

转载 作者:行者123 更新时间:2023-12-03 15:29:17 24 4
gpt4 key购买 nike

在谷歌分析的站点内容报告字段中,我总是收到关于一个链接的两个数据,一个带斜杠,一个不带
像这样:

/post-one.html
/post-one.html/

我只想接收 (/post-one.html) 的数据,然后我创建一个搜索和替换过滤器:
Search string: \.html/$
Replace string: \.html$

但它不起作用。
我该怎么做?

最佳答案

搜索字符串:\/$
替换字符串:空字符串

关于regex - 删除 Google Analytics 报告中的尾部斜杠,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25564873/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com