Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Java
10.1k+ articles
Strings
3.2k+ articles
Java Programs
2.1k+ articles
Pattern Searching
610+ articles
Java Examples
230+ articles
Java-Strings
220+ articles
Java-String-Programs
130+ articles
regular-expression
88 articles
CPP-regex
39 articles
java-regular-expression
90 posts
Popular Articles
Recent Articles
Convert camel case string to snake case in Java
Last Updated: 13 December 2022
Given a string in camel case, the task is to write a Java program to convert the given string from camel case to snake case and print the mo
...read more
Strings
Pattern Searching
Java Programs
java-regular-expression
Java-String-Programs
regular-expression
DSA
How to validate an IP address using ReGex
Last Updated: 15 February 2023
Given an IP address, the task is to validate this IP address with the help of Regex (Regular Expression) in C++ as a valid IPv4 address or I
...read more
Strings
Searching
Computer Networks
IP Addressing
python-regex
java-regular-expression
CPP-regex
regular-expression
DSA
How to validate MAC address using Regular Expression
Last Updated: 22 December 2022
Given string str, the task is to check whether the given string is a valid MAC address or not by using Regular Expression.A valid MAC addres
...read more
Strings
Pattern Searching
Computer Networks
Computer Networks-IP Addressing
java-regular-expression
CPP-regex
regular-expression
DSA
Similar Topics
DSA
22.3k+ articles
Java
10.1k+ articles
Strings
3.2k+ articles
Java Programs
2.1k+ articles
Pattern Searching
610+ articles
Java Examples
230+ articles
Java-Strings
220+ articles
Java-String-Programs
130+ articles
regular-expression
88+ articles
CPP-regex
39+ articles
How to validate Indian driving license number using Regular Expression
Last Updated: 23 December 2022
Given string str, the task is to check whether the given string is a valid Indian driving license number or not by using Regular Expression.
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
regular-expression
DSA
How to validate Indian Passport number using Regular Expression
Last Updated: 13 August 2024
Given a string str of alphanumeric characters, the task is to check whether the given string is a valid passport number or not by using Regu
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
regular-expression
DSA
How to validate IFSC Code using Regular Expression
Last Updated: 14 March 2023
Given string str, the task is to check whether the given string is a valid IFSC (Indian Financial System) Code or not by using Regular Expre
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
regular-expression
DSA
How to validate GST (Goods and Services Tax) number using Regular Expression
Last Updated: 22 December 2022
Given string str, the task is to check whether the given string is a valid GST (Goods and Services Tax) number or not using Regular Expressi
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
regular-expression
DSA
How to validate HTML tag using Regular Expression
Last Updated: 03 February 2023
Given string str, the task is to check whether it is a valid HTML tag or not by using Regular Expression.The valid HTML tag must satisfy the
...read more
Strings
Pattern Searching
Web Technologies
java-regular-expression
CPP-regex
HTML
regular-expression
DSA
How to validate image file extension using Regular Expression
Last Updated: 26 December 2022
Given string str, the task is to check whether the given string is a valid image file extension or not by using Regular Expression.The valid
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
DSA
How to check Aadhaar number is valid or not using Regular Expression
Last Updated: 10 March 2023
Given string str, the task is to check whether the given string is a valid Aadhaar number or not by using Regular Expression. The valid Aadh
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
DSA
How to validate pin code of India using Regular Expression
Last Updated: 27 January 2023
Given a string of positive number ranging from 0 to 9, the task is to check whether the number is valid pin code or not by using a Regular E
...read more
Pattern Searching
java-regular-expression
CPP-regex
DSA
How to validate time in 24-hour format using Regular Expression
Last Updated: 26 December 2022
Given a string str, the task is to check whether the string is valid time in 24-hour format or not by using Regular Expression.The valid tim
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
DSA
How to validate Hexadecimal Color Code using Regular Expression
Last Updated: 26 December 2022
Given string str, the task is to check whether the string is valid hexadecimal colour code or not by using Regular Expression.The valid hexa
...read more
Strings
Pattern Searching
java-regular-expression
CPP-regex
DSA
Remove duplicate words from Sentence using Regular Expression
Last Updated: 09 April 2024
Given a string str which represents a sentence, the task is to remove the duplicate words from sentences using regular Expression in Program
...read more
Java
Programming Language
python-regex
java-regular-expression
CPP-regex
How to validate an IP address using Regular Expressions in Java
Last Updated: 10 June 2021
Given an IP address, the task is to validate this IP address with the help of Regular Expressions.The IP address is a string in the form "A.
...read more
Java
Technical Scripter
Computer Networks
java-regular-expression
Technical Scripter 2019
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
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 !