Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex Bing搜索链接到Google表单中的基础链接_Regex_Url_Google Sheets_Google Sheets Formula_Array Formulas - Fatal编程技术网

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!!