regex for charge state complete