I`m searching for regex which will count how many times caret will stop between 2 words. Caret must be carrying just forward with ctrl + "right arrow" btn.
for example: word word - 1 caret stop empty space - 1 caret transition to next word
word, word - 2 caret will stop upon coma next ctrl+arrowRight will move it to the start of next word
word...word - 2 caret stops
word , word - 2 caret stops etc...
is there exist some magic regex to solve such issue?