<?php $str = 'key1="value" key2="2nd value" key3="3rd value"'; preg_match_all('/(\w+)="([^"]*)"/', $str, $matches); print_r($matches);
You have javascript disabled. You will not be able to edit any code.