Found 1 Questions For Regular Expression

Validating Indian vehicle number plate using Regular Expression

Updated on 03-Dec-2023 10:17:57
  In this problem, we will validate the Indian vehicle number plate using the regular expression. The regular expression is the search pattern created using the different characters, which we can use to match a particular pattern in the given string. Problem statement - We have given a string representing the Indian vehicle number plate. We need to use the regular expression to validate the given string. Sample Example Input: num1 = "GJ 03 AY 1097" Output: Yes Explanation - The giv... Read Mores



Advertisements

ads