Please add Regex support to text replacement
isaaclepes opened this issue · 0 comments
isaaclepes commented
I have been trying to edit about 836 command blocks.
I am trying to remove the run tell portion from my sorter commands
Current:
/execute if block ~ ~1 ~4 hopper{Items:[{id:"minecraft:oak_sign", Count:1b, Slot:0b}]} run tell @p Oak Sign Sorted
Desired:
/execute if block ~ ~1 ~4 hopper{Items:[{id:"minecraft:oak_sign", Count:1b, Slot:0b}]}
If I could have it search for all lines containing 'run tell' and truncate them after the last '}' using a regular expression, this would be done already. This function would be immensely useful to others, I imagine.