3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $message = "24. What would you prefer, to go to a restaurant or to a night club? "; preg_match('/^\d+\.(.*)$/', $message, $matches); var_dump(trim($matches[1]));
Output for 4.3.0 - 7.1.0
string(64) "What would you prefer, to go to a restaurant or to a night club?"