3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $content = '<iframe class="vine-embed" src="https://vine.co/v/Mlr5Kt22TKA/embed/simple" width="600" height="600" frameborder="0"></iframe><script async src="//platform.vine.co/static/scripts/embed.js" charset="utf-8"></script>'; preg_match('#(?<=vine.co/v/)([0-9A-Za-z])+#', $content, $matches); var_dump($matches);
based on XIGmK
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(11) "Mlr5Kt22TKA" [1]=> string(1) "A" }