Skip to content

Tag Archives: java-regular-expression

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… Read More
Given string str, the task is to check whether the given string is a valid domain name or not by using Regular Expression.The valid domain… Read More
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… Read More
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… Read More
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… Read More
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… Read More
Given string str, the task is to check whether the string is alphanumeric or not by using Regular Expression.  An alphanumeric string is a string… Read More
Given string str, the task is to check whether the string is valid hexadecimal colour code or not by using Regular Expression. The valid hexadecimal… Read More
Given string str of alphanumeric characters, the task is to check whether the string is a valid PAN (Permanent Account Number) Card number or not… Read More
Given a string str, the task is to check whether the string is valid time in 12-hour format or not by using Regular Expression. The valid… Read More
Given a string str, the task is to check whether the string is a valid identifier or not using the Regular Expression. The valid rules for… Read More
Given a password, the task is to validate the password with the help of Regular Expression. A password is considered valid if all the following… Read More
Given string str denoting a password, the task is to count the minimum characters that need to be added to make the password strong. A password… Read More
Given a string str which represents a sentence, the task is to remove the duplicate words from sentences using regular expression in java.Examples:   Input: str… Read More
Given a file as input.txt containing some email ids which are mixed with other data. The task is to read this input file line by… Read More

Start Your Coding Journey Now!