- 2
Checking whether the given string matches with RegEx pattern
Input format:the first input contains string which denotes input string The second input contains string which denotes RegEx pattern Output format : check whether the given string matches with the RegEx pattern. if string matches with the pattern print"Matched".otherwise, print"does not match" sample input: ttteeaab t+e+a+b sample output : Matched
3 Respostas
+ 5
Why people can't ask just a question?
+ 2
I don't get it, you've got any bug or need help on your code? Try writing down your code and share it with us if you need any help.
+ 2
Abhay sometimes it is asked to publish some attempt at code in addition to the question so that :
- it encourages people to make a start thinking about the problem for themselves.
- it clarifies what is actually misunderstood, so answers are more to the point
- it stops people who would be tempted to just ask the community to solve their own schoolwork.