3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/_[0-9a-z]{24}(*SKIP)(*FAIL)|[a-z]+(?:_[a-z]+)*/'; $str = 'hello word some_stuff other_stuff_607eea770b6d00003d001579 something'; preg_match_all($re, $str, $matches); var_export($matches[0]);

preferences:
28.54 ms | 405 KiB | 5 Q