Add regex to read part of inconsistent string