<?php $subject = 'd-123'; var_dump( preg_match('/\bthis is:d-(\d+),i think\b/', $subject, $matches) ); var_dump( $matches );
You have javascript disabled. You will not be able to edit any code.