replace spaces between different words many files
Posted: Tue Feb 12, 2008 7:02 pm
I have been working on this problem with no luck, this is what I am trying to do...
document 1:
Line 10 only (hence the rangeSearch):
<rangeSearchCode(space)code><"text"><space><"text2"><space><"word"><code(space)rangeSearchCode>
document 200:
Line 10 only (hence the rangeSearch):
<rangeSearchCode(space)code><"text3"><space><"text4"><space><"word"><code(space)rangeSearchCode>
so...
I need to replace the spacebar (1) whitespace <space> with the character entity and leave the rest of the text and code alone, including the (space)s
Any useful responses would be greatly appreciated.
Thanks, Nate
document 1:
Line 10 only (hence the rangeSearch):
<rangeSearchCode(space)code><"text"><space><"text2"><space><"word"><code(space)rangeSearchCode>
document 200:
Line 10 only (hence the rangeSearch):
<rangeSearchCode(space)code><"text3"><space><"text4"><space><"word"><code(space)rangeSearchCode>
so...
I need to replace the spacebar (1) whitespace <space> with the character entity and leave the rest of the text and code alone, including the (space)s
Any useful responses would be greatly appreciated.
Thanks, Nate