Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan

Regular expression matching

Language Java | Level Intermediate | Category Data structure | September 9, 2015 10:07 am


Data structure Description

Write a program to implement Regular expression matching. If you give the string and expression, the program should match the regular expression.


Output

   					 

Does the string contain space: true
Number of space between the strings: 4
Hello How are you 
Replace space with tab in the string: Hello	How	are	you

				    

Comments


No comments available!

Please login to add comments.