Need to search and replace with a wildcard

Discussion in 'Site & Server Administration' started by carl_in_florida, Jun 10, 2007.

  1. #1
    I need to change every page on my site. I would normally do a search and replace but there is one character different on every page, but it is in the same spot.

    So I need to know if there is a way to do a search and replace with a wildcard?

    example:
    
    http://location/L/location/14.php is on one page
    http://location/m/location/14.php is on another
    Code (markup):
    I want to do something like
    find:  http://location/*/location/14.php
    replace with: http://location/location/14.php
    Code (markup):
    I know you can't do this in dreamweaver. Any ideas?
     
    carl_in_florida, Jun 10, 2007 IP
  2. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Cant you place a .htaccess for that/
     
    inworx, Jun 11, 2007 IP
  3. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #3
    If this was for navigation I could but it is part of a code that has to be changed.
     
    carl_in_florida, Jun 11, 2007 IP