3v4l.org

run code in 200+ 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 - 7.2.0
array(2) { [0]=> string(11) "Mlr5Kt22TKA" [1]=> string(1) "A" }