I have a jsf tag:
<h:graphicImage styleClass="iconButton" id="expandImage" onclick="toggleFilter();" onmouseout="onMouseOutExpandButton();" onmouseover="onHoverExpandButton();" value = "./resources/images/allFilter_idle.gif" style="cursor:pointer; margin-top : 6px; margin-bottom: 6px; margin-right: 3px;"> </h:graphicImage>
I want to replace the value of attribute value
and also change attribute name styleClass
to 'class' ? Is it possible through regex
.
Any help would be appreciated.
P.S. I'm a noob in regex, so wasn't able to figure it out myself.
EDIT:
I'm doing it in Eclipse.