Suppose I have a line like this:
string = "Manoj Kumar Kashyap";
Now I want to create a regular expression to match where Ka appears after the space, and also want to get the index of matching characters.
I am using java language.
java android regex
Rahul vyas
source share