G
Guest
I'm a newbie to regular expressions. I've a requirement where in I need to
search a string and replace a pattern within it....
I want to replace the src attribute of the below string....
" <img src=\"c:\\windows\\windows\\desktop\\imagfes.jpg\">gfhsdfjsd<img
src="\c:\\windows\\win23\\images/jpg\\>jfdshfjdsh<img
src=\"c:\\win\\winnt\\images.gif."...................
My output should be
" <img src=\"d:\\images\\imagfes.jpg\">gfhsdfjsd<img
src="\d:\\images\\images/jpg\\>jfdshfjdsh<img
src=\"d:\\images\\images.gif."...................
can anyone help me out
search a string and replace a pattern within it....
I want to replace the src attribute of the below string....
" <img src=\"c:\\windows\\windows\\desktop\\imagfes.jpg\">gfhsdfjsd<img
src="\c:\\windows\\win23\\images/jpg\\>jfdshfjdsh<img
src=\"c:\\win\\winnt\\images.gif."...................
My output should be
" <img src=\"d:\\images\\imagfes.jpg\">gfhsdfjsd<img
src="\d:\\images\\images/jpg\\>jfdshfjdsh<img
src=\"d:\\images\\images.gif."...................
can anyone help me out