updated regex for extracting dmc energy