not actually i want know number of words before replaced contants...
as i have below word file data in a page and want to replace "AN CC" to "Ankit Nirbal Chaudhay Chuck" so i need count of word before "AN CC" contant so ans would be 4 (count of kk pp ss ffff)
kk pp ss ffff AN CC PP SS
|