Posts

Find Images

Find All Images in a String Using Pattern Matching

Quick tip on finding images within a string. I used this for a WordPress content conversion I did. I needed to find all the images in the post content, then copy them to a new location, and update the content with the new image URL. This works great for content scraping.

Read more