starting reg expression recognision