<?php $string = 'application/vnd.github.full+json'; $pattern = '#([a-z].*)/([a-z0-9.-]*)([+]([a-z]*))?#i'; preg_match($pattern, $string, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.