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.
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.