Adding a wild card... or 2?

General discussions about Advanced Find and Replace
Post Reply
Blenheimer
Posts: 1
Joined: Sun Oct 14, 2007 9:15 pm

Adding a wild card... or 2?

Post by Blenheimer » Sun Oct 14, 2007 9:28 pm

Hi There

I'm trying add some alt="" tabs to some HTML pages:

original
<td><img src="Images/tn_p_t_pac_wns.jpg" width=

to:
<td><img src="Images/tn_p_t_pac_wns.jpg" alt="my text etc" width=

but the image name varies (tn_p_t_pac_wns.jpg) with different lines ie. (tn_s_p_pad_wws.jpg)

Is there anyway I can use a wild card? or anything to get around my problem without editing every line?

Many thanks

Blenheimer

Abacre
Site Admin
Posts: 1198
Joined: Mon Jan 31, 2005 5:32 pm
Contact:

Re: Adding a wild card... or 2?

Post by Abacre » Mon Oct 15, 2007 9:55 am

The thing about image's file name which varies is not much important. You can use reg exp for this. For example .* means any even empty char.
The question is how do you want to add the text into alt= tag. Is this text related to image's file name? or what?
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests