<?php $string = 'http://test.local/too'; $pattern = 'test.local'; var_dump(preg_split($pattern, $string));
You have javascript disabled. You will not be able to edit any code.