3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $thumb = "//i.vimeocdn.com/video/485741435_275x166.jpg"; $thumb = preg_replace("/\d+x\d+.jpg/", "600.jpg", $thumb); echo $thumb;
based on XZbDi
Output for 4.3.0 - 7.3.0rc4
//i.vimeocdn.com/video/485741435_600.jpg