Regulators are racing to find a buyer for First Republic after the recent collapse of two US banks.