How to do case insensitive regular expressions in Python

A case insensitive regular expression will match both capital or lowercase characters in its search.

Solution for How to do case insensitive regular expressions in Python : You can use re.IGNORECASE to do case insensitive regular expressions Assign re.IGNORECASE as an optional parameter in regular expression calls to do case insensitive regular expressions.


how-to-do-case-insensitive-regular-expressions-in-python