updated previous pattern reg ex for 50 and 100 types