Regex, Python
Python, Regex
200
A regular expression is a string of characters which is used for describing a search pattern so that it can be easily found in a text. They are useful for extracting information from text such as code, spreadsheets etc. In this problem set, you'll be introduced to three problems based on regular expression.
The problems in this problem set require you to write a script in Python using the required pattern and process the data in standard input and print the required answer to standard output.