pipes icon indicating copy to clipboard operation
pipes copied to clipboard

Replace strings in a specific field

Open anewuser opened this issue 5 years ago • 2 comments

Could you add a search in fields option to replace blocks? Existing blocks could have all by default.

anewuser avatar Sep 09 '20 18:09 anewuser

I think that's a good idea, yes.

onli avatar Sep 11 '20 20:09 onli

Here's an example of a pipe that could be improved with this option: https://www.pipes.digital/pipe/59Vvzw9A

If I could parse only the item.content, this regex would be enough: /(<iframe.*?iframe>)|./i. However, since the Replace block forcibly affects titles too, I had to keep making the regex more complex to cover all titles in different blogs.

anewuser avatar Jun 20 '22 13:06 anewuser