Loading ...
Sorry, an error occurred while loading the content.

113509Re: Search & Replace

Expand Messages
  • Karthick Gururaj
    Apr 2, 2010
    • 0 Attachment
      On Fri, Apr 2, 2010 at 10:10 AM, Kunal Bajpai <kunal.bajpai@...> wrote:
      To this html code I wanted to select the text between the tags and replace the original text with \n character removed. There is a more complex example that I wanted to ask, here is the problem:

      <strong>Gilbert </strong>

      After search & replace:
      <p>Mike <strong>Gilbert</strong> Senior</p>

      You can do this with:
      : /<p>/, /<\/p>/ join
      See help :/

      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 10 messages in this topic