Search
Other ReReplacer questions
Forum

not replace text in img src

Odin Mayland's Avatar Odin Mayland
I want to change Maxguard to MaxGuard everywhere except in the img src because the image path is case sensitive.

Is this possible?
Peter van Westen's Avatar Peter van Westen ADMIN
Pretty difficult to do it everywhere except in image paths.
You could do this with 3 replacements:

1) Maxguard => [MAXGUARD] (everywhere)
2) [MAXGUARD] => Maxguard (only in tags: img[src])
2) [MAXGUARD] => MaxGuard (everywhere)
Please post a rating at the Joomla! Extensions Directory
Odin Mayland's Avatar Odin Mayland
Is it any easier/better to do it with DBreplacer?
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, I recommend doing something like this with DB Replacer, as you probably want to do this once to clean stuff up.

But you would need to do the same similar steps. Only you'd have to use some Regular Expressions to handle step 2.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription