If you want any post code that has a 5 AND ends in E you will need to put criteria in the post code field. Open up the query in design mode. In the criteria field for the field PostCode put this criteria.
Mid([PostCodes],3,1)="5" and Right([postcodes],1)="E"
This assumes that the postcode field is formatted the same.