<?php $str = "['key1', 'key2']"; preg_match_all("/'([^'\]]+)'+/", $str, $matches); var_export($matches[1]);
You have javascript disabled. You will not be able to edit any code.