3v4l.org

run code in 300+ PHP versions simultaneously
<?php $haystack = array ( '01.02', '01.03', '02.05', '02.07' ); $matches = preg_grep ('/cpb-grid-col-[0-9]/', $haystack); print_r ($matches);

preferences:
41.93 ms | 402 KiB | 5 Q