- preg_match_all: documentation ( source)
<?php
$test="AdGroup update failed: [AdGroupServiceError.DUPLICATE_ADGROUP_NAME @ operations[6].operand.name; trigger:'prince2 training west yorkshire', AdGroupServiceError.DUPLICATE_ADGROUP_NAME @ operations[8].operand.name; trigger:'prince ii training and exam']";
$result = array();
preg_match_all("triger:'([^']*)'", $test, $result);