User:SOTO/bot tricks

Step 1
python add_text.py -cat:"category" -text:"" -pt:1 -except:"New category"

Step 2
python replace.py -cat:"New category" -regex "\[\[Category:(New category)\]\]\r\n([\s\S]*)\r\n\[\[Category:(.*?)\]\]" "\2\n\n" -pt:1