using a grammer to find anchor tags