Regular expression are the standard way to represent the patterns the strings.one symbol is '+',which represents all strings that have one or more occurances of the preceeding character. example t+e+a+ represent any string that has a string of t's followed by a string of e's followd by a string of a's each of these strings of repeating letters must have atleast one character.
get the input string and regex pattern. check wheater the given string matches with the regex pattern.
if string matches with the pattern print matched else print does not match
Answers
Answered by
1
Answer:
WHAT IS THE QUESTION BROTHER PLZ TELL
Similar questions