Saturday 1 November 2014

* : Match zero or more times

Meta character '*' match zero or more times.

For Example, regular expression a*b match b, ab, aab, aaab etc.,


Enter Regular Expression
a*b
Enter the string
b ab aab aab
I found the text b starting at index 0 Ending at index 1
I found the text ab starting at index 2 Ending at index 4
I found the text aab starting at index 5 Ending at index 8
I found the text aab starting at index 9 Ending at index 12



Prevoius                                                 Next                                                 Home

No comments:

Post a Comment