3

I want to do find and replace for example . In dreamweaver's find and replace

<p><strong>Business Development</strong></p>

into

<h4>Business Development</h4>

I have to change in lots of files.

I'm trying this to type it in search and replace, but it's not working.

0

5 Answers 5

6

You could simply use Dreamweaver's Regex Replace function. (Ctrl-F and check "Use Regular Expression")

Find:

<p><strong>(.*)</strong></p>

Replace:

<h4>$1</h4>

2
  • ok will try this. Feb 4, 2010 at 13:15
  • great working thanks. but why dreaweaver's non-regex option not working Feb 4, 2010 at 13:17
1

This may help you.

1

how about reading the manual? it has all the answers, such as "Search for a specific tag, Containing ...", "Use Regular Expressions", and "Search in Entire Current Local Site".

2
  • The phrase you're looking for is "Read The Friendly Manual", usually abbreviated "RTFM." There may be other interpretations of the acronym.
    – mpez0
    Feb 4, 2010 at 13:37
  • i know the phrase - but refrained from using it. because there may be other interpretations :)
    – ax.
    Feb 4, 2010 at 13:56
0

I saw the answer on your Stack Overflow question, however, I do this sort of thing all the time in Dreamweaver.

Simply change the Search field to Source Code and then it should be able to do it easily if you type your two statements in.

alt text

6
  • i'm not asking about simple find and replace see my question i just given a example Text inside Tag can be changed. Feb 4, 2010 at 15:52
  • Thanks for the -1... You do exactly what I said, change to Source Code and simply put <p><strong>Business Development</strong></p> in to find, and replace with <h4>Business Development</h4>... It does work. Feb 4, 2010 at 16:08
  • still getting wrong Feb 4, 2010 at 17:28
  • Well then - Phrase your question better then before giving a -1! You said replace x with y, doing what I said does that... I use it pretty much on a daily basis.... Have you actually tried it? Feb 4, 2010 at 17:37
  • I don't want to replace text inside tag i want to change tags only see here <p><strong>Business Development</strong></p> Feb 4, 2010 at 18:21
0

The Dreamweaver command you're looking for is "change tag" which is dreamweaver cc search and replace interface

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .