<?php $s = '$string = typ="bar" title="Example" enabled=true count=true style="float: left; width: 30%;"'; if (preg_match_all('~([^\s=]+)=(?|"([^"]*)"|(\S+))~', $s, $m, PREG_SET_ORDER, 0)) { print_r($m); }
You have javascript disabled. You will not be able to edit any code.