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