Welcome to the Regex and Parsing Problems Solutions repository! This repository is dedicated to solving various problems related to regular expressions and parsing in Python, as found on HackerRank. Each subfolder within this repository contains the problem statement, the solution, and any necessary explanations or comments.
No. | Problem Name | Description | HackerRank |
---|---|---|---|
01 | Detect Floating Point Number | Solution for detecting floating point numbers in a string | Link |
02 | Re.split() | Solution using the re.split() method in Python |
Link |
03 | Group() Groups() and Groupdict() | Solution for using group, groups, and groupdict in regex | Link |
04 | Re.findall() and Re.findIter() | Solution using re.findall() and re.finditer() in Python |
Link |
05 | Re.start() and Re.end() | Solution using re.start() and re.end() in regex |
Link |
06 | Regex Substitution | Solution using regex substitution in Python | Link |
07 | Validating Roman Numerals | Solution for validating Roman numerals using regex | Link |
08 | Validating Phone Numbers | Solution for validating phone numbers in Python | Link |
09 | Validating and Parsing Email Addresses | Solution for validating and parsing email addresses | Link |
10 | Hex Color Code | Solution for matching hex color codes in CSS | Link |
11 | HTML Parser - Part 1 | Solution for parsing HTML tags using Python | Link |
12 | HTML Parser - Part 2 | Solution for handling data in HTML tags | Link |
13 | Detect HTML Tags, Attributes, and Attribute Values | Solution for detecting HTML tags, attributes, and values | Link |
14 | Validating UID | Solution for validating Unique Identification Numbers | Link |
15 | Validating Credit Card Numbers | Solution for validating credit card numbers using regex | Link |
16 | Validating Postal Codes | Solution for validating postal codes in Python | Link |
17 | Matrix Script | Solution for decoding a matrix script using regex | Link |
Happy Coding! 😊