Unfortunately we can't because data-ajax-replace uses .html() and not .replace() (.replace() doesn't exist in jQuery).