标签: google-sheets google-sheets-importxml
要从其链接中获取Instagram页面名称的Importxml是什么?
例如https://www.instagram.com/pandawithnojams/
答案 0 :(得分:0)
可以从链接本身进行重新表达:
=REGEXEXTRACT(A21, "com\/(.+)\/")
答案 1 :(得分:0)
=REGEXEXTRACT(QUERY(IMPORTXML("https://www.instagram.com/pandawithnojams/","//*"), "select Col1 where Col1 contains ') • Instagram photos and videos' and not Col1 contains '{'"),"\@(.+)\)")