Case insensitive string replacement in Python

前端 未结 0 790
半阙折子戏
半阙折子戏 2020-11-28 02:19

To make multiple case insensitive string replacement I\'m using regex pattern, e.g.

import re
text = "Mentioning of reD, GrEen and BLUE is prohibited&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题