data.txt
employee_Name,Dept_ID,employee_id
Peter,A001,0001
Mary,A006,0002
.......
I have one file(data.txt) and how can I select all matched date if Dept_ID=A001?
what i can do is select each line one by one and check if the A001 is matched.Is there a easy way to do?