Get all image URLs in HTML source code in RSS feed

Dear Community Members,
We are switching from Zapier to Make but can’t figure out we can use the ‘split text’ function of Zapier in Make.com.
We use the ‘split text’ function to extract from a Wordpress RSS feed the 2nd, 3rd and 4th image within a Wordpress blog post (i.e. NOT the featured image) to create follow-up social media posts, e.g. on Instagram, with the same text but different images on the 2nd, 3rd and 4th day.
How would you recommend that we create something similar in Make.com?
Many thanks for your help with this.
Pairfum London
www.pairfum.com

Welcome to the Make community!

Screenshot_2024-02-20_151445

You can use a Text Parser “Match Pattern” module with this Pattern (regular expression):

<img[^<]+?src="(?<image>[^"]+?)"

Proof

https://regex101.com/r/edstcX

Important Info

  • :warning: Global match must be set to YES!

For more information, see Text Parser in the Make Help Center:

Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.

Hope this helps!

3 Likes