Page 1 of 1

Replaceing numbers with ARRAY - Need Advice

Posted: Sat Aug 11, 2007 7:01 pm
by fr0gman
I have some template files that contain the following strings:

~~githumb1~~
~~gititle1~~
~~gilink1~~
~~gititle1~~
~~gititle1~~
~~gidesc1~~

~~yithumb1~~
~~yititle1~~
~~yilink1~~
~~yititle1~~
~~yititle1~~
~~yidesc1~~

The digit can be any number from 1-20. I would like for each number to be used only once per template within each set.

Can this be done with find and replace?

Re: Replaceing numbers with ARRAY - Need Advice

Posted: Sat Aug 11, 2007 8:58 pm
by Abacre
What should be resulting text after replace? Could you please explain it more in details?