find matching tabs