How do you make a replace not case sensitive in Python?

The Python string replace method does not support case insensitive replacement. In order to perform a case-insensitive replacement, you may use the regular expression. The re. IGNORECASE can do this job as shown in an example below.

Sizin İçin Seçtik  Which modifiers are used for case insensitive search?

Leave a Reply

Your email address will not be published. Required fields are marked *