Batch replacement and optimization of code text (supports CSSPHP, etc.)