<?php $truth = "((A^¬B)->C)"; while (strpos($truth, '(') !== false) { preg_match("~^[^(]*\((.*?)\)[^)]*$~", $truth, $str); $truth = $str[1]; echo "$truth\n"; }
You have javascript disabled. You will not be able to edit any code.