Regex, or a more known terminology, Regular Expressions, is used to create complex patterns for searching substring inside Strings.
We have other methods of finding substring as well, but regex can cope up with way more complicated patterns than just normal searching for a substring.
In Python, the module “re” is used to work with Regular Expressions.
#tutorial #python #webdev #regex #regular expressions #python tutorial