I have strings of 15 characters long. I am performing some pattern matching on it with a regular expression. I want to know the position of the substring where the IsMatch() function returns true.
Question: Is there is any function that returns the index of the match?
For multiple matches you can use code similar to this: