Good advice from @Daniel Boden. You are right that many law firms specialise in M&A. You could also look at the kind of M&A they do: lower mid market (Addleshaw Goddard), mid-market (Jones Day), upper mid-market and premium (Freshfields/Links), public M&A (Slaughters) or private equity...