Regex Bing搜索链接到Google表单中的基础链接
我们得到如下链接:Regex Bing搜索链接到Google表单中的基础链接,regex,url,google-sheets,google-sheets-formula,array-formulas,Regex,Url,Google Sheets,Google Sheets Formula,Array Formulas,我们得到如下链接: http://www.bing.com/news/apiclick.aspx?ref=FexRss&aid=&tid=23A2D3B3B1FC42ADB33E0D6A07F0E740&url=https%3a%2f%2ftimesofindia.indiatimes.com%2fgadgets-news%2fwhatsapp-for-android-finally-gets-fingerprint-security%2farticleshow%2f71
http://www.bing.com/news/apiclick.aspx?ref=FexRss&aid=&tid=23A2D3B3B1FC42ADB33E0D6A07F0E740&url=https%3a%2f%2ftimesofindia.indiatimes.com%2fgadgets-news%2fwhatsapp-for-android-finally-gets-fingerprint-security%2farticleshow%2f71842024.cms&c=7798011707021326482&mkt=en-us
我可以在Google Sheets中使用什么公式来获取基础链接:
https://timesofindia.indiatimes.com/gadgets-news/whatsapp-for-android-finally-gets-fingerprint-security/articleshow/71842024.cms
尝试:
对于阵列:
=ARRAYFORMULA(IFNA(SUBSTITUTE(SUBSTITUTE(REGEXEXTRACT(
REGEXEXTRACT(A20:A21, "bing.com(.+)"), "http[^&]+"), "%3a", ":"), "%2f", "/")))
尝试:
对于阵列:
=ARRAYFORMULA(IFNA(SUBSTITUTE(SUBSTITUTE(REGEXEXTRACT(
REGEXEXTRACT(A20:A21, "bing.com(.+)"), "http[^&]+"), "%3a", ":"), "%2f", "/")))
哇!非常感谢你。工作完美,节省了很多时间。谢谢玩家0!!哇!非常感谢你。工作完美,节省大量时间。谢谢玩家0!!