  replacedobject = JSON.parse(searchreplace);
        } catch (e) {
            contentsDiv.innerText = "Replacement Object is Invalid. It must be valid string or JSON object!";
            contentsDiv.scrollTop = 0;
            return;
        }
    }
    if (search == "") {
        contentsDiv.innerText = "Error: You did not enter a valid field name";
        contentsDiv.scrollTop = 0;
        return;
    }

    let selids = [];
    for(let i=0;i<currdbidxs.length;++i)
    {
        let ci