Only replace first match, then search recursively