Image Tag RegEx

The RegEx (regular expression) "/<a[^>]+\><img[^>]+\><\/a>/" can be used to match an image tag inside of an anchor tag, e.g. the typical first image of a post with an embedded image. We need to find them in old posts, to remove [...]

By | 2015-03-07T20:15:59+00:00 March 7th, 2015|Tip|Comments Off on Image Tag RegEx