0% found this document useful (0 votes)
2 views8 pages

Python Regex Practice Programs Guide

The document lists 16 Python programming tasks focused on using Regular Expressions (Regex) for various string manipulations and validations. Tasks include counting character types, finding occurrences, extracting numeric values, validating URLs and IP addresses, and checking email formats. Each task is presented with a prompt for the corresponding Python program implementation.

Uploaded by

sayalipathare05
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views8 pages

Python Regex Practice Programs Guide

The document lists 16 Python programming tasks focused on using Regular Expressions (Regex) for various string manipulations and validations. Tasks include counting character types, finding occurrences, extracting numeric values, validating URLs and IP addresses, and checking email formats. Each task is presented with a prompt for the corresponding Python program implementation.

Uploaded by

sayalipathare05
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PROGRAMS FOR PRACTICE:

1. Write a python program to Count Uppercase, Lowercase, special character and numeric
values using Regex

== >

2. Write a python program to find the most occurring number in a string using Regex

== >
3. Write a python Regex to extract maximum numeric value from a string

== >

4. Write a python program to put spaces between words starting with capital letters using
Regex

== >
5. Write a python to Check whether a string starts and ends with the same character or
not

== >

6. Write a python regex to find sequences of one upper case letter followed by lower case
letters

== >
7. Write a python Regex program to accept string ending with alphanumeric character

== >

8. Write a python Regex program to accept string starting with vowel

== >
9. Write a python Program to check if a string starts with a substring using regex

== >

10. Write a python Program to Check if an URL is valid or not using Regular Expression

== >
11. Write a python Program to Parsing and Processing URL using Python – Regex

== >

12. Write a python Program to validate an IP address using ReGex

== >
13. Write a python Program to Check if email address valid or not

== >

14. Write a python program to find files having a particular extension using RegEx

== >
15. Write a python program to extract IP address from file

== >

16. Write a python program to check the validity of a Password

== >

You might also like