<?php $c = 'Al(OOH)3'; $n = preg_replace('/.*[^O]OH\)(\d)/i', '$1', $c); echo $n;
You have javascript disabled. You will not be able to edit any code.