Skip to content

Tag Archives: CPP-regex

Given a string str and a word w, the task is to print the number of the occurrence of the given word in the string… Read More
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 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 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 is a valid MAC address or not by using Regular Expression. A valid… Read More
Given string str, the task is to check whether the given string is a valid GUID (Globally Unique Identifier) or not by using Regular Expression.The… Read More
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.The… Read More
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… Read More
Given a string str, the task is to check whether the given string is a valid Visa Card number or not by using Regular Expression. The… Read More
Given string str, the task is to check whether the given string is a valid Master Card number or not by using Regular Expression. The valid… Read More
Given string str, the task is to check whether it is a valid CVV (Card Verification Value) number or not by using Regular Expression. The valid… Read More
Given a string str that contains some HTML tags, the task is to remove all the tags present in the given string str. Examples: Input:… Read More
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… Read More

Start Your Coding Journey Now!