Click to See Complete Forum and Search --> : Find Replace in WE3


Dirtnapper
03-04-2010, 04:50 PM
I'm am trying to delete some code in a javascript that repeats throught the web:

<a href="JavaScript:openPopImg('images/image1.jpg', image1', '296', '589')">

I want to delete this part of the script ', 'xxx', 'xxx') The x's are pixels sizes that will vary throughout the web. I can not get a regular expression going that will work; .i.e. (\'\, \'[0-9]{3,}\'\, \'[0-9]{3,}\' \)) Am I anywhere near right or is there another way to do this? Thanks.