I am a rookie to the use of regular expressions and have just finished a tutorial, but can not get this simple situation to work.
I have the following script on over 3,000 pages with a different name on each one. I want to use find and replace to change this code site wide.
<script type="text/javascript">
var dhtmlwin = null;
function openThumbnailLink(addr, winWidth, winHeight) {
dhtmlwin = dhtmlmodal.open('ETGfullsizeimagewindow', 'iframe', addr, 'Dianna Agron Photos',
'width=' + winWidth + 'px,height=' + winHeight +
'px,center=1,resize=1,scrolling=1');
dhtmlwin.onclose=function () {
dhtmlwin = null;
return true;
};
}
</script>
I can not figure out how to create a simple regular expression for the part of the code that has different names in it ('Dianna Agron Photos'). I just need someone to tell me what I need to do as far as regular expressions go to find the code on every page with different names in this part of the code. Thanks!