Skip to content
Courses
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
All Courses
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Loops and Control Flow
Python Conditional Statements
Python Loops
Python Functions
Python OOPS Concept
Python Data Structures
Python Exception Handling
Python File Handling
Python Exercises
Java
Learn Java Programming Language
Java Collections
Java 8 Tutorial
Java Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
JavaScript
C++
R Tutorial
SQL
PHP
C#
C
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permission Commands
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
DSA Tutorial
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django
Django Tutorial
Django Projects
Django Interview Questions
Flask
Flask Tutorial
Flask Projects
Flask Interview Questions
Postman
Github
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
Learn Complete Web Development
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
▲
Similar Topics
DSA
22.3k+ articles
Python
20k+ articles
Python Programs
4.1k+ articles
Strings
3.2k+ articles
Misc
2.3k+ articles
Python-pandas
1.6k+ articles
Python string-programs
560+ articles
Python pandas-dataFrame
550+ articles
python-string
230+ articles
python-regex
72 articles
Python Regex-programs
38 posts
Popular Articles
Recent Articles
Python program to extract Strings between HTML Tags
Last Updated: 17 May 2023
Given a String and HTML tag, extract all the strings between the specified tag.Input : 'bGfg/b is bBest/b. I love bReading CS/b from it.' ,
...read more
Python
Python Programs
python-regex
Python Regex-programs
Python - Check if String Contain Only Defined Characters using Regex
Last Updated: 05 January 2024
In this article, we are going to see how to check whether the given string contains only a certain set of characters in Python. These define
...read more
Python
python-regex
Python Regex-programs
Python program to find files having a particular extension using RegEx
Last Updated: 29 December 2020
Prerequisite: Regular Expression in PythonMany of the times we need to search for a particular type of file from a list of different types o
...read more
Python
Python Programs
python-regex
Python Regex-programs
Similar Topics
DSA
22.3k+ articles
Python
20k+ articles
Python Programs
4.1k+ articles
Strings
3.2k+ articles
Misc
2.3k+ articles
Python-pandas
1.6k+ articles
Python string-programs
560+ articles
Python pandas-dataFrame
550+ articles
python-string
230+ articles
python-regex
72+ articles
Extract IP address from file using Python
Last Updated: 10 February 2022
Let us see how to extract IP addresses from a file using Python.Algorithm :Import the re module for regular expression.Open the file using t
...read more
Python
python-utility
python-regex
Python Regex-programs
Python - Substituting patterns in text using regex
Last Updated: 29 December 2020
Regular Expression (regex) is meant for pulling out the required information from any text which is based on patterns. They are also widely
...read more
Python
Python Programs
python-regex
Write From Home
Python Regex-programs
Python - Check whether a string starts and ends with the same character or not (using Regular Expression)
Last Updated: 31 July 2023
Given a string. The task is to write a regular expression to check whether a string starts and ends with the same character.Examples:Input :
...read more
Python
Python Programs
python-regex
Python Regex-programs
Python program to validate an IP Address
Last Updated: 22 April 2023
Prerequisite: Python RegexGiven an IP address as input, write a Python program to check whether the given IP Address is Valid or not.What is
...read more
Python
Python Programs
python-regex
Python Regex-programs
Check if email address valid or not in Python
Last Updated: 30 September 2024
Given a string, write a Python program to check if the string is a valid email address or not.An email is a string (a subset of ASCII charac
...read more
Python
Python Programs
python-regex
Python Regex-programs
Python | Remove all characters except letters and numbers
Last Updated: 28 August 2023
Given a string, the task is to remove all the characters except numbers and alphabets. String manipulation is a very important task in a day
...read more
Python
Python Programs
python-regex
Python string-programs
Python Regex-programs
Find all the numbers in a string using regular expression in Python
Last Updated: 08 May 2023
Given a string str containing numbers and alphabets, the task is to find all the numbers in str using regular expression.Examples:Input: abc
...read more
Arrays
Python
Python Programs
python-regex
Python Regex-programs
DSA
Python regex to find sequences of one upper case letter followed by lower case letters
Last Updated: 06 September 2024
Write a Python Program to find sequences of one upper case letter followed by lower case letters. If found, print 'Yes', otherwise 'No'. Exa
...read more
Python
Python Programs
python-regex
Python Regex-programs
Program to check if a string contains any special character
Last Updated: 08 April 2024
Given a string, the task is to check if that string contains any special character (defined special character set). If any special character
...read more
Python
Python Programs
python-string
python-regex
Python string-programs
Python Regex-programs
Extracting email addresses using regular expressions in Python
Last Updated: 29 December 2020
Let suppose a situation in which you have to read some specific data like phone numbers, email addresses, dates, a collection of words etc.
...read more
Misc
Pattern Searching
Python
python-regex
Python Regex-programs
DSA
Python | Check for URL in a String
Last Updated: 25 April 2023
Prerequisite: Pattern matching with Regular Expression In this article, we will need to accept a string and we need to check if the string c
...read more
Python
python-string
python-regex
Python string-programs
Python Regex-programs
Python program to check the validity of a Password
Last Updated: 06 September 2024
In this program, we will be taking a password as a combination of alphanumeric characters along with special characters, and checking whethe
...read more
Python
Python Programs
python-string
python-regex
Python string-programs
Python Regex-programs
1
2
3
>>
Last
1
2
3
>>
Last
1
2
3
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !