开发者

Regex in Yahoo Pipes: delete the Google prefixed part of the link

开发者 https://www.devze.com 2023-02-28 11:54 出处:网络
How do I get rid of the Google prefix to some of my links in this pipe? http://pipes.yahoo.com/followtheboat/feedburner

How do I get rid of the Google prefix to some of my links in this pipe?

http://pipes.yahoo.com/followtheboat/feedburner

I'm trying to strip out 'http://www.google.com/url?sa=X&q=' in some of the links, so I've tried the R开发者_C百科egex rule:

In item.link replace http://www.google.com/url?sa=X&q= with [blank]

Where [blank] is where the text field is left empty. This doesn't work.


You need to escape the some of the characters in the regex; use http://www\.google\.com/url\?sa=X\&q= instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消