Regular Expression Noobie - Search/Replace

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
layne0
Posts: 2
Joined: Thu Sep 02, 2010 12:47 pm

Regular Expression Noobie - Search/Replace

Post 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
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post 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.
layne0
Posts: 2
Joined: Thu Sep 02, 2010 12:47 pm

Post 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"
Post Reply