<?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]);
You have javascript disabled. You will not be able to edit any code.