Worked on reg expressions