creating regex layout and parsing