Skip to content

Tag Archives: regular-expression

Given a string email that denotes an Email Address, the task is to check if the given string is a valid email id or not.… Read More
Given string str of length N, the task is to remove uppercase, lowercase, special, numeric, and non-numeric characters from this string and print the string… Read More
Given string str of length N, the task is to check if the given string contains only special characters or not. If the string contains… Read More
Given string str of length N, the task is to check whether the given string contains uppercase alphabets, lowercase alphabets, special characters, and numeric values… Read More
In this tutorial, you’ll learn about RegEx and understand various regular expressions. Regular Expressions Why Regular Expressions Basic Regular Expressions More Regular Expressions Compiled Regular… Read More
Given a large number in form of string N, the task is to insert a dash between two adjacent odd digits in the given number… Read More
Given a string str which has various HTML Entities in it, the task is to replace these entities with their corresponding special character. HTML entity… Read More
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… Read More
Given numeric string str, the task is to remove all the leading zeros from a given string. If the string contains only zeros, then print… Read More
Given a number N, the task is to check first whether the given number is binary or not and its value should be greater than… Read More
Given string str, the task is to write a Java program to check whether a string contains only digits or not. If so, then print… Read More
Given a URL as a character string str of size N.The task is to check if the given URL is valid or not.Examples :  Input… Read More
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… Read More
Given a string txt, the task is to find the index of currency symbols present in the given string.Examples:   Input: txt = “Currency symbol of… Read More
Given string str, the task is to check whether the given string contains 3 or more consecutive identical characters/numbers or not by using Regular Expression. Examples: … Read More

Start Your Coding Journey Now!