I have a page I am working with that has several hidden DIVs that are identically formatted, but the content within each DIV varies. I want to be able to seek out a specific DIV (based on it's content), unhide it, and replace it with custom content.
For instance, I have:
<div class="caption" style="display:none">[ProductDetail_Espot]</div>
And I want:
<div class="caption" style=""><p>My Custom Content</p></div>
I have looked at a couple regex scripts and stuff, but I'm not a genius when it comes to scripting, so any help would be appreciated!