This repository explores and demonstrates the use of the re module in Python, which provides support for working with regular expressions. The goal of this project is to showcase various functionalities of the module, including pattern matching, search, and substitution within strings. By experimenting with different regex patterns and functions, this repository helps users understand how to efficiently manipulate and extract data from text using Python's built-in regular expression tools.
Key features include:
- Pattern matching using re.match(), re.search(), and re.findall()
- String replacement with re.sub()
- Compiling and using regular expression patterns for efficiency
- Practical examples and use cases