Global replace of two code lines for only one using VWD Express 2008

Last post 11-08-2009 8:50 PM by SGWellens. 3 replies.

Sort Posts:

  • Global replace of two code lines for only one using VWD Express 2008

    11-05-2009, 1:39 PM
    • Member
      point Member
    • GP_Mapa
    • Member since 01-02-2009, 11:41 AM
    • Posts 8

    Hi, sorry for my question, I am sure it is very simple for profesional people.

    I am using WVD 2008 express, it has not macros environment.

    I want to do a global replace in all the files in a project replacing two code lines for only one.

    Any sugestions will be very apreciated.

    Thanks in advance

    Mar

     

  • Re: Global replace of two code lines for only one using VWD Express 2008

    11-05-2009, 8:37 PM
    Answer
    • All-Star
      91,082 point All-Star
    • SGWellens
    • Member since 01-02-2007, 9:27 PM
    • Twin Cities, MN
    • Posts 7,426
    • Moderator
      TrustedFriends-MVPs

    I don't know if the Express version has this feature but...

    If you click the little plus + for Find Options you may be able to use Regular Expressions.

    Below I search for One Two which are on separate lines. 

     

    Steve Wellens

    My blog
  • Re: Global replace of two code lines for only one using VWD Express 2008

    11-08-2009, 8:15 PM
    • Member
      point Member
    • GP_Mapa
    • Member since 01-02-2009, 11:41 AM
    • Posts 8

    Steve: Thank you very much, a very good answer.

    Can you tell me where can I find a tutorial in order to use?

    I tried to use but  I could not get a good result, so I suppose I am not using well.

    If I want to take off a line  I have to put the line answering by \n

    For ex. the line is

    <center>

    I will have to put in: "find what":          <center>\n

    but it does not work.

    Thank you very much Steve.

  • Re: Global replace of two code lines for only one using VWD Express 2008

    11-08-2009, 8:50 PM
    • All-Star
      91,082 point All-Star
    • SGWellens
    • Member since 01-02-2007, 9:27 PM
    • Twin Cities, MN
    • Posts 7,426
    • Moderator
      TrustedFriends-MVPs

    GP_Mapa:
    Can you tell me where can I find a tutorial in order to use?
     

    No...you can try googling for one. 

     

    Steve Wellens

    My blog
Page 1 of 1 (4 items)