dreamweaver find and replace HELP!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zentz
    Confirmed User
    • Nov 2003
    • 8062

    #1

    dreamweaver find and replace HELP!

    so i have 100+ html files containing the following url codes:

    <a href="1.mpeg">
    <a href="2.mpeg">
    <a href="3.mpeg">
    <a href="4.mpeg">

    and i want to change those urls to

    <a href="http://newdomain.com/1.mpeg">
    <a href="http://newdomain.com/2.mpeg">
    <a href="http://newdomain.com/3.mpeg">
    <a href="http://newdomain.com/4.mpeg">

    what would be the easiest way to do that with find and replace feature in just a few clicks ? is there a way to explain dreamweaver to ignore those 1,2,3,4 numbers so i could just set it to replace all the <a href="X.mpeg"> codes with <a href="http://newdomain.com/X.mpeg"> for example ?
    Last edited by zentz; 11-22-2005, 06:29 AM.
    Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

    Email: [email protected]
  • EdgeXXX
    Confirmed User
    • Oct 2005
    • 5816

    #2
    Copy and Paste them into UltraEdit32, Notepad, etc. and click "Replace"

    Replace: <a href="
    With: <a href="http://newdomain.com/

    Then click "Replace All"
    .
    .
    .
    .

    I have a sig

    Comment

    • zentz
      Confirmed User
      • Nov 2003
      • 8062

      #3
      Originally posted by EdgeXXX
      Copy and Paste them into UltraEdit32, Notepad, etc. and click "Replace"

      Replace: <a href="
      With: <a href="http://newdomain.com/

      Then click "Replace All"
      yeah but the problem is i have other href links that i dont want to change
      Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000

      Email: [email protected]

      Comment

      • EdgeXXX
        Confirmed User
        • Oct 2005
        • 5816

        #4
        Ok, so when you copy and paste them, only copy and paste the ones that you want to change. As far as doing it all easily in DW like your talking about, I haven't found a way yet and I think we have just about every plug-in available for DW.
        .
        .
        .
        .

        I have a sig

        Comment

        • GFX Wiz
          Confirmed User
          • Jul 2004
          • 916

          #5
          Originally posted by zentz
          yeah but the problem is i have other href links that i dont want to change
          You can highlight blocks of code and do a find and replace ONLY for those blocks of code
          ICQ: 148.167.599

          Comment

          • HarrytheNazi
            Confirmed User
            • Feb 2005
            • 1164

            #6
            CTL+F

            SEARCH IN "SOURCE CODE"

            FIND: 1.mpeg
            REPLACE: http://newdomain.com/1.mpeg

            Comment

            Working...