<?php $texto = "this string should not match the regex"; preg_match_all("~{([^\d\W]\w*)\}~", $texto, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.