Saturday 1 November 2014

+ : Match one or more times

Metacharacter '+' match one or more times.

For Example, (ab)+ match ab, abab, ababab etc.,

Enter Regular Expression
(ab)+
Enter the string
ab abab ababab ba
I found the text ab starting at index 0 Ending at index 2
I found the text abab starting at index 3 Ending at index 7
I found the text ababab starting at index 8 Ending at index 14




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment