Saturday, May 18, 2013

replace/change certain positions in line of text

Hi,

is there a way to replace (for example) position 110-117 in each line
of a text to (for example) to "." ?

I only found regular expressions handling the length of matches but
not their position in a line.

Since what I want to acchieve lastly is lot of work I dont want
to add n '.' or do wild calculations from positions to lengths
of strings.

Directly using the positions themselves would be nice.

Is that possible with vim? How?

Thank you very much in advance for any help!


Best regards,
mcc

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