3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_content = '<iframe src="http://blip.tv/play/AYOrznEC.x?p=1" width="720" height="433" frameborder="0" allowfullscreen></iframe><embed type="application/x-shockwave-flash" src="http://a.blip.tv/api.swf#AYOrznEC" style="display:none"></embed>'; preg_match('%blip.tv\/(?:play\/|api.swf#)([^\'"&?\/\.\s]+)%i',$_content, $matches); var_dump($matches); echo $_content;
based on XYH0G
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
array(2) { [0]=> string(21) "blip.tv/play/AYOrznEC" [1]=> string(8) "AYOrznEC" } <iframe src="http://blip.tv/play/AYOrznEC.x?p=1" width="720" height="433" frameborder="0" allowfullscreen></iframe><embed type="application/x-shockwave-flash" src="http://a.blip.tv/api.swf#AYOrznEC" style="display:none"></embed>