{
    "program": "quickcommand",
    "cmd": "quickcommand.showInputBox([\"要替换的内容，两边加 / 使用正则\", \"替换为的内容\"])\n  .then(([search, repl]) => {\n    let reg = search.match(/^\\/(.*?)\\/([igm]*)$/)\n    if (reg) search = new RegExp(reg[1], reg[2])\n    let source = quickcommand.enterData.payload\n    source = source.replace(search, repl)\n    utools.hideMainWindow()\n    quickcommand.sleep(50)\n    send(source)\n    quickcommand.setTimeout(() => {\n      utools.outPlugin()\n    }, 100)\n  })",
    "scptarg": "",
    "features": {
        "code": "default_textReplacer",
        "explain": "替换选中的文本",
        "cmds": [
            {
                "label": "替换选中的文本",
                "type": "over",
                "minNum": 1
            }
        ],
        "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QA/wD/AP+gvaeTAAAKUklEQVR4nO2dbWwcRxnH/8/s2Xm5O9vNS928KPFdrKhp0oQmgarQopYSSNSQVAKcQCkiUpvkzknVFCSEgHKhAgoFVbXO5xiktAIpKG0F9AUaQvoBCFFBMSBo0yLsO1tJ0zYkqeNbO419Ow8f4gjnfDe7e7t7ty77k/IhO8/O8+z8b2Z3Z55ZAwEBAQEBAQEBAQFVh2odgF1aO841jIY0rb5gGL0PzB6qdTxO8aUAC9JDs9/c1XCu+HisM38MhFuKDp8G0AdwlkFZXCp09O+5ZrA6kTonVOsAAGB555nICKbfAaKNANYT0AfgYyVM9RLH5l/+R7cRUBjjpsc8DdZlaidAikX8upH1MOR9I4SNAOquFDHQhBQLpEhedQ7BbMg5ceohuuhBtJ5REwFimaFNgP4dllhRZhBsaJmXX9oPvDHxIBHlmblsvQzqcTXQKlCbHsBiKYhXqEzIEGtRJABL1lV3LcF8vFxZLJMvr5xFmJDqT0T3Oq1nIsLNyqxyKRTOgPGOyoaI1xYfY6K86hzJ0rMe4EXjAzUS4PQOGgHohyobZkwSQECqBCgURhv+4Ti4UrF41PhAjQQALPWCm25P8VVDpEkP8OQG7GXjAx4JEPuJ3hzrz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7h8SWZ4jYT8HYCSL4xFXGApP+n2d49cvfhKnvPdFmBBemh2HdHHBWHr+C4WAcCQjBsH2qOvF9vXWgTXLr7SlyyVAPG0ficLuZrAJxjUizoxeEmG85c/e3k1S7ry10rmFwFagxJDKwMH+pPRe0r5qaUIrtwDvHrDZSHvBegHDPEiQG9gjN+eZujDsUye4136kxNt+2ZHzgHiBpS5JgK2LO7MLytVVst7gmMBvJ1eoDXlSpg5etWBNjIA/ruiMo0EvlmusFYiOBLAy8Zf3nkmAqDkL3acaPEBIiiniYnRVq4XALURofLvBXk8sTbCM1YD0Moa8GQBmMlsnl4jwjdUBtUWoeK5oPFvL6QqPd8MErSWVZOtVEIATR4no/xzBQEnAPzezHdfMtyzJDO8zuKN+YoIFd2Ya/btaHPMMu0oUnykf3v0X5icxS0BHAHzpmwisiKXjP7Yivdq9QTfCsBA2RvwuMWkHgAiJuBvAM4DeB7M21FH83PJ6Lpce8MLdvN4qiGCv2YpJ7A4M7xBI2MVM30AwDKAogA3AYjg8p87Gc0lo9OKz2vtyM/tPR85N+nPnzjAy/cE3wrgN7wSwbdDkN/oS4Z7pOC7YG1b0kwImmel3qAH2MRCTxiTxFsGEg2/tFJfIEAFKESw1fhAMARVRJmnozEGt9lpfCDoAY6Y0BMiDG7rTzb8qtYx/d+xeN/QLS3pIVc+XxYQEBAQEBAQEBAQEBAQEBDgMf8FVs3dBYo/zx4AAAAASUVORK5CYII=",
        "platform": [
            "win32",
            "darwin",
            "linux"
        ]
    },
    "output": "text",
    "tags": [
        "默认"
    ]
}
