B
barry
Hi
str = "<IMG src="/MySite/images/placeholder.gif" width=5 border=0>";
str += "<img height=56 src="/MySite/images/logo/CodeBackground.gif"
width=538 border=0>";
str += "<IMG height=9 src="/MySite/images/Menu/Expand_minus_small.gif"
width=9 border=0>";
i need to change the above string value (str) to the following
<IMG src="/MyLocalFolder/placeholder.gif" width=5 border=0>
<img height=56 src="/MyLocalFolder/CodeBackground.gif" width=538 border=0>
<IMG height=9 src="/MyLocalFolder/Expand_minus_small.gif" width=9 border=0>
in short i want to change
/MySite/images/placeholder.gif ==> /MyLocalFolder/placeholder.gif
/MySite/images/logo/CodeBackground.gif ==> /MyLocalFolder/CodeBackground.gif
/MySite/images/Menu/Expand_minus_small.gif ==>
/MyLocalFolder/Expand_minus_small.gif
something similar to what Firefox or IE does when you SaveAs a web page
can some expert in regexpression help me out
barry
str = "<IMG src="/MySite/images/placeholder.gif" width=5 border=0>";
str += "<img height=56 src="/MySite/images/logo/CodeBackground.gif"
width=538 border=0>";
str += "<IMG height=9 src="/MySite/images/Menu/Expand_minus_small.gif"
width=9 border=0>";
i need to change the above string value (str) to the following
<IMG src="/MyLocalFolder/placeholder.gif" width=5 border=0>
<img height=56 src="/MyLocalFolder/CodeBackground.gif" width=538 border=0>
<IMG height=9 src="/MyLocalFolder/Expand_minus_small.gif" width=9 border=0>
in short i want to change
/MySite/images/placeholder.gif ==> /MyLocalFolder/placeholder.gif
/MySite/images/logo/CodeBackground.gif ==> /MyLocalFolder/CodeBackground.gif
/MySite/images/Menu/Expand_minus_small.gif ==>
/MyLocalFolder/Expand_minus_small.gif
something similar to what Firefox or IE does when you SaveAs a web page
can some expert in regexpression help me out
barry