Page 1 of 1

Regular Expression Noobie - Search/Replace

Posted: Thu Sep 02, 2010 12:56 pm
by layne0
I have 200+ files that have the following line:

<v:imagedata src=3D"CB2010-08BrowserPerformanceImprovement_files/image001.=
jpg"
o:title=3D"newcomplogo"/>

I need to replace the src attribute from what it currently is (different in each file) to:

src=3D"http://mycompany.com/logo.jpg"

I've got Textpad configured to use POSIX Regular Expression

Posted: Fri Sep 03, 2010 11:50 am
by ben_josephs
You describe your example as a single line, but it has 3 lines. What does it really look like? What are the "3D"s doing in there? If this is XML, their presence makes it invalid.

Please show us precisely an original line, and precisely what you want it changed to.

Posted: Fri Sep 03, 2010 12:18 pm
by layne0
I don't think the reason the "3D" is in the string has anything to do with the question I asked. This is an mht file generated by a MS Office document. I don't know why it's there - and don't really care.

Anyway, I figured it out -
src=3D*.*jpg"