Sunday, July 28, 2013

help for a command

Hallo.

In an HTML file I want to solve the following task:
for every and all the lines that end with '-<br/>' (without quotes) I
want to delete the string '-<br/>' and join the line with the following
one.

As an example:

the file:

<html>
<head></head>
<body>
just some li-<br/>
nes to show the pro-<br/>
blem I want to sol-<br/>
ve.
</body>
</html>

has to become:

<html>
<head></head>
<body>
just some lines to show the problem I want to solve.
</body>
</html>

Many thanks.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment