<?php $test = <<<EOF Re: Response to your ticket [TicketID:159] EOF; $matches = []; preg_match('/.*\[TicketID:(\d+)\]/', $test, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.