Clearing getting header structure, based on Regex