parse content by regex