Link to home
Create AccountLog in
Avatar of freezegravity
freezegravity

asked on

multiple stored find and replace searches in one click

I am thinking this is next to impossible as I have looked everywhere with no avail.

I want DW to remember where I selected some text and execute multiple find and replaces operations that I have stored as .dwr files. So for instance, say I have selected this block of "code" in my webpage:

<p><b>This is bold. <i>This is bold ital.</i></b></p>
<p><i>Italic text that is <font color="green">green</font></i></p>

Say I have stored three search and replace files (dwr files) that function like this:

File 1: replaces b tag (<b>) with "strong" tag
File 2: replaces i with "em"
File 3: replaces font with attribute green to <span class="green_text">

The only way that these changes will occur is if I select the block each time and then select the appropriate find and replace operation for it. That is three times the work necessary in my opinion.

So yes, any workarounds whatsoever will be much appreciated!

P.S. I don't yet have the skills necessary to write a custome extension for Dreamweaver.

P.P.S. This question is so difficult that 500 points don't do it justice!
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of freezegravity
freezegravity

ASKER

The reason for the "C" score was that I knew that this was going to be complex process. I was wondering whether there were custom extensions already available that did this.

I should have stated that in my question, so really, the question got a "C"