Parser regex

added regex into parser