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