I have a document in which I have to replace some special characters with numbers in ascending order.
I have marked those characters as "&&", I have to replace first 14 && with 1, next 14 && with 2, next 14 && with 3 and so on....next 14 && with 250.
Is there a better and fast way to do it. 
Thanks..