<?php $str = 'comment=Accept established chain=forward connection-state=established'; preg_match_all('/([a-z-]+)=(.*?)(?=\s*[a-z-]+=|$)/', $str, $matches); print_r($matches);
You have javascript disabled. You will not be able to edit any code.