Automator Plugin

Can someone help with a figma command that will find and replace these two sets of characters: "[ and "] I need remove them from all instances of the page. I understand there is a find and replace in figma, however I want to add this in my automator plugin - script setting area (attached is a screen).