Adding a wild card... or 2?

General discussions about Advanced Find and Replace
Post Reply
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:

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

<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


Site Admin
Posts: 1220
Joined: Mon Jan 31, 2005 5:32 pm

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

Post Reply