Someone
public php v1 · immutable <?php $input = $block -> content; $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>"; if(preg_match_all("/$regexp/siU", $input, $matches)) {} $url = $matches['2']['0']; $img = $matches['3']['0']; ?>