0

Possible Duplicate:
How to replace text in html document without affecting the markup?

This should be fairly simple, I just can't seem to get it to work.
I want to take:

<div>Other text here XYZ more text</div>

and replace to get:

<div>Other text here ABC more text</div>

Where I don't know the id, class, or anything about the div and I cannot accidentally replace attributes. Just the text in-between. No Jquery.

Community
  • 1
  • 1
Andrew
  • 155
  • 1
  • 2
  • 9

0 Answers0