vim short for search replace with space in between -


what vim short case?

a bcd_x 1.pdf bcd_x 2.pdf 

desired output:

a bcd_x 1.pdf:::a bcd_x 2.pdf 

you mean this?

:s/\s\(a\s\)/:::\1 

or how this?

:s/\sa\@=/::: 

of course, regexp search-and-replace depends on particulars of data. of haven't given work with.


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

.htaccess: Transfer name to index.php if not directory public -

Admob integration with pygame in android -