Replace text with blanks
Posted: Fri Dec 07, 2007 10:27 pm
I get regularly a document with technical data mostly numbers in rows.
I wish to replace all text which is in between these numbers, with the same amount of blanks, to keep the numbers in a row.
How can I do that?
Example: NO ELEMENTS AVAILABLE = 21 bytes should be replaced by 21 blanks.
or other example
SELENOCENTRIC ORBIT = 19 bytes should be replaces by 19 blanks
and so on.
This is a list with over 35.000 lines and about 150 text parts which I need to replace.
Thanks for your help.
Vauh
I wish to replace all text which is in between these numbers, with the same amount of blanks, to keep the numbers in a row.
How can I do that?
Example: NO ELEMENTS AVAILABLE = 21 bytes should be replaced by 21 blanks.
or other example
SELENOCENTRIC ORBIT = 19 bytes should be replaces by 19 blanks
and so on.
This is a list with over 35.000 lines and about 150 text parts which I need to replace.
Thanks for your help.
Vauh