Now what happens in the scenario where there is no "$FILE" in the search part, but is being added in the replace?
e.g. if I am searching for:
vwimages/(.*)\.jpg
and replacing with:
vwimages/th_$1.jpg/$FILE/$1.jpg"
The original string does not contain "$FILE" but is being inserted ...
Search found 4 matches
- Mon Mar 19, 2007 1:44 pm
- Forum: Advanced Find and Replace
- Topic: Wildcard F/R
- Replies: 6
- Views: 32220
- Fri Mar 16, 2007 8:38 pm
- Forum: Advanced Find and Replace
- Topic: Wildcard F/R
- Replies: 6
- Views: 32220
- Wed Mar 14, 2007 3:20 pm
- Forum: Advanced Find and Replace
- Topic: Wildcard F/R
- Replies: 6
- Views: 32220
- Tue Mar 13, 2007 7:42 pm
- Forum: Advanced Find and Replace
- Topic: Wildcard F/R
- Replies: 6
- Views: 32220
Wildcard F/R
I've checked through the other posts, and I think I understand how to do a variable find and replace, but I'm missing the obvious it seems...
I have a few html files that have code like this in it...
<IMG src="thumbnails/th_My%20Photo.jpg"
I need to replace it with:
<IMG src="../vwimages/th ...
I have a few html files that have code like this in it...
<IMG src="thumbnails/th_My%20Photo.jpg"
I need to replace it with:
<IMG src="../vwimages/th ...