I have this pattern so far:
Code: Select all
'#<iframe[^>]*>.*?</iframe>#i'Code: Select all
<iframe src='http://www.example.com' width='XXX' height='XXX'></iframe>
and
<iframe src='http://www.example.com' width='XXX' height='XXX'><a href="http://www.example.com">iframes not supported</a></iframe>Code: Select all
<iframe src='http://www.example.com' width='XXX' height='XXX' />Thanks.