<?php $re = '/([A-Z][a-z]*)(\d*[-+]?)/'; $str = 'K+ Cr7+ O2-'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); print_r($matches);
You have javascript disabled. You will not be able to edit any code.